- <init>
Constructs a new UsernamePasswordToken encapsulating the username and password
submitted, if the use
- getUsername
Returns the username submitted during an authentication attempt.
- getPassword
Returns the password submitted during an authentication attempt as a character
array.
- setRememberMe
Sets if the submitting user wishes their identity (principal(s)) to be
remembered across sessions. U
- getPrincipal
Simply returns #getUsername().
- clear
Clears out (nulls) the username, password, rememberMe, and inetAddress. The
password bytes are expli
- getCredentials
Returns the #getPassword() char array.
- getHost
Returns the host name or IP string from where the authentication attempt occurs.
May be null if the
- setPassword
Sets the password for submission during an authentication attempt.
- setUsername
Sets the username for submission during an authentication attempt.
- toString
Returns the String representation. It does not include the password in the
resulting string for secu