|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SshAuthentication
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 but 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 |
|---|
static final int COMPLETE
static final int FAILED
static final int FURTHER_AUTHENTICATION_REQUIRED
static final int CANCELLED
static final int PUBLIC_KEY_ACCEPTABLE
| Method Detail |
|---|
void setUsername(java.lang.String username)
username - java.lang.String getUsername()
java.lang.String getMethod()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||