public class UsernamePasswordAuthenticationCredentials extends AuthenticationCredentials
AuthenticationHandlerClassname| Constructor and Description |
|---|
UsernamePasswordAuthenticationCredentials(java.lang.String username,
java.lang.String password)
Creates a credential given a username and a password.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPassword()
Returns the password of the user.
|
java.lang.String |
getUsername()
Returns the name of the user.
|
addAuthenticationDetails, getAuthenticationDetailNames, getAuthenticationDetails, removeAuthenticationDetails© Copyright IBM Corp. 1987, 2017