public class UESPasswordAuthnToken extends java.lang.Object implements UESAuthenticationToken
UESAuthenticationToken to be used
 for authentication using principal and password.| Modifier and Type | Field and Description | 
|---|---|
private java.lang.String | 
password
Password. 
 | 
private UESPrincipal | 
principal
Principal. 
 | 
| Constructor and Description | 
|---|
UESPasswordAuthnToken(java.lang.String principal,
Creates new instance of password authentication token. 
 | 
UESPasswordAuthnToken(java.lang.String securityRealm,
Creates new instance of password authentication token. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.Object | 
getCredentials()
The credentials that prove the principal is correct. 
 | 
java.util.Map<java.lang.String,java.lang.Object> | 
getDetails()
Stores additional details about the authentication request. 
 | 
Principal | 
getPrincipal()
The identity of the principal being authenticated. 
 | 
java.lang.String | 
getSecurityRealm()
The security realm which should be used for authentication. 
 | 
securityRealm - Security realmprincipalSimpleName - Principal simple name (principal without realm)password - Passwordprincipal - Principalpassword - PasswordUESAuthenticationService. Callers are
 expected to populate the credentials.getCredentials in interface UESAuthenticationTokenPrincipalgetDetails in interface UESAuthenticationTokennull if not usedgetPrincipal in interface UESAuthenticationTokenPrincipal being authenticatedgetSecurityRealm in interface UESAuthenticationToken