public class LoginAuthenticationState extends Object implements AuthenticationState, UsernameAuthentication
AuthCommand.AuthMechanism.LOGIN authorization mechanism, when
that mechanism was used for authentication.| Constructor and Description |
|---|
LoginAuthenticationState(String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPassword()
Retrieves the password that was used for
PLAIN or LOGIN authentication. |
String |
getType() |
String |
getUsername()
Retrieves the username that was used for
PLAIN or LOGIN authentication. |
public String getType()
getType in interface AuthenticationStatePLAIN or LOGIN.public String getUsername()
PLAIN or LOGIN authentication.
Note that this will return null when no authentication was performed or needed.getUsername in interface UsernameAuthenticationpublic String getPassword()
PLAIN or LOGIN authentication.
Note that this will return null when no authentication was performed or needed.Copyright © 2006–2022 Icegreen Technologies. All rights reserved.