public class PlainAuthenticationState extends Object implements AuthenticationState, UsernameAuthentication
AuthCommand.AuthMechanism.PLAIN authorization mechanism, when
that mechanism was used for authentication.| Constructor and Description |
|---|
PlainAuthenticationState(SaslMessage saslMessage) |
PlainAuthenticationState(String authorizationId,
String authenticationId,
String password) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthenticationId() |
String |
getAuthorizationId() |
String |
getPassword() |
String |
getType() |
String |
getUsername() |
public PlainAuthenticationState(SaslMessage saslMessage)
saslMessage - The parsed message sent by the client with the AUTH command.public PlainAuthenticationState(String authorizationId, String authenticationId, String password)
authorizationId - The authorization ID sent by the client with the AUTH command.authenticationId - The authentication ID sent by the client with the AUTH command.password - The password sent by the client with the AUTH command.public String getType()
getType in interface AuthenticationStatePLAIN or LOGIN.public String getAuthorizationId()
AUTH command.public String getAuthenticationId()
AUTH command.public String getPassword()
AUTH command.public String getUsername()
getUsername in interface UsernameAuthenticationCopyright © 2006–2022 Icegreen Technologies. All rights reserved.