SessionContext being provided to the instance creator
| Modifier and Type | Field and Description |
|---|---|
| public static final String | HOST_BASED
Host-based authentication method |
| public static final String | KB_INTERACTIVE
Keyboard interactive authentication method |
| public static final String | PASSWORD
Password authentication method name |
| public static final String | PUBLIC_KEY
Public key authentication method name |
| Modifier and Type | Method and Description |
|---|---|
| public M | Returns: The authenticator instanceThe session for which authentication is required session)
|
| public static < The type of S extends SessionContext, SessionContext being provided to the instance creatorThe authentication method factory type M extends UserAuthInstance | Returns: The created authenticator instance -null if no matching factoryThe session through which the request is being made session, Collection<? extends UserAuthMethodFactory<S, M>> The available factories factories, String The requested factory name name)
|
| public static boolean | Returns: true if the context is not null and the MAC(s) used to verify packet integrity
have been established.The session)SessionContext being used for authentication
|
| public static boolean | Returns: true if the context is not null and the ciphers have been established to anything
other than "none".The session)SessionContext being used for authenticationAccording to RFC 4252 - section 8:
Both the server and the client should check whether the underlying
transport layer provides confidentiality (i.e., if encryption is
being used).
|
| HOST_BASED | back to summary |
|---|---|
| public static final String HOST_BASED Host-based authentication method | |
| KB_INTERACTIVE | back to summary |
|---|---|
| public static final String KB_INTERACTIVE Keyboard interactive authentication method | |
| PASSWORD | back to summary |
|---|---|
| public static final String PASSWORD Password authentication method name | |
| PUBLIC_KEY | back to summary |
|---|---|
| public static final String PUBLIC_KEY Public key authentication method name | |
| createUserAuth | back to summary |
|---|---|
public M createUserAuth(S session) throws IOException
| |
| createUserAuth | back to summary |
|---|---|
public static <S extends SessionContext, M extends UserAuthInstance
| |
| isDataIntegrityAuthenticationTransport | back to summary |
|---|---|
public static boolean isDataIntegrityAuthenticationTransport(SessionContext session)
| |
| isSecureAuthenticationTransport | back to summary |
|---|---|
| public static boolean isSecureAuthenticationTransport(SessionContext session) According to RFC 4252 - section 8:
Both the server and the client should check whether the underlying
transport layer provides confidentiality (i.e., if encryption is
being used). If no confidentiality is provided ("none" cipher),
password authentication SHOULD be disabled. If there is no
confidentiality or no MAC, password change SHOULD be disabled.
| |