|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The base interface for all SSH authentication mechanisms and authentication result constants.
Field Summary | |
static int |
CANCELLED
The authentication was cancelled by the user |
static int |
COMPLETE
The authentication completed |
static int |
FAILED
The authentication failed |
static int |
FURTHER_AUTHENTICATION_REQUIRED
The authentication succeeded by further authentication is required |
static int |
PUBLIC_KEY_ACCEPTABLE
The public key provided is acceptable for authentication |
Method Summary | |
java.lang.String |
getMethod()
The SSH authentication method name |
java.lang.String |
getUsername()
Get the username for this authentication attempt. |
void |
setUsername(java.lang.String username)
Set the username for this authentication attempt. |
Field Detail |
public static final int COMPLETE
public static final int FAILED
public static final int FURTHER_AUTHENTICATION_REQUIRED
public static final int CANCELLED
public static final int PUBLIC_KEY_ACCEPTABLE
Method Detail |
public void setUsername(java.lang.String username)
username
- public java.lang.String getUsername()
public java.lang.String getMethod()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |