Skip to content

Commit a0e022d

Browse files
committed
update ssh2 library
1 parent 02094f1 commit a0e022d

File tree

76 files changed

+5210
-3651
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+5210
-3651
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
2+
package ch.ethz.ssh2;
3+
4+
public enum AuthenticationResult {
5+
6+
/**
7+
*
8+
*/
9+
SUCCESS,
10+
/**
11+
* The authentication request to which this is a response was successful, however, more
12+
* authentication requests are needed (multi-method authentication sequence).
13+
*
14+
* @see ServerAuthenticationCallback#getRemainingAuthMethods(ServerConnection)
15+
*/
16+
PARTIAL_SUCCESS,
17+
/**
18+
* The server rejected the authentication request.
19+
*/
20+
FAILURE
21+
}

src/main/java/ch/ethz/ssh2/ChannelCondition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public abstract interface ChannelCondition
2020
* A timeout has occurred, none of your requested conditions is fulfilled.
2121
* However, other conditions may be true - therefore, NEVER use the "=="
2222
* operator to test for this (or any other) condition. Always use
23-
* something like <code>((cond & ChannelCondition.CLOSED) != 0)</code>.
23+
* something like <code>((cond &amp; ChannelCondition.CLOSED) != 0)</code>.
2424
*/
2525
public static final int TIMEOUT = 1;
2626

0 commit comments

Comments
 (0)