public class UsernamePasswordToken extends Object implements AuthenticationToken
| Constructor and Description |
|---|
UsernamePasswordToken(String username,
char[] password) |
UsernamePasswordToken(String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getCredentials()
Returns the credentials submitted by the user during the authentication
process that verifies the submitted
account
identity. |
char[] |
getPassword() |
Object |
getPrincipal()
Returns the account identity submitted during the authentication
process.
|
String |
getUsername() |
void |
setPassword(char[] password) |
void |
setUsername(String username) |
public UsernamePasswordToken(String username, char[] password)
public String getUsername()
public void setUsername(String username)
public char[] getPassword()
public void setPassword(char[] password)
public Object getPrincipal()
AuthenticationTokengetPrincipal in interface AuthenticationTokenpublic Object getCredentials()
AuthenticationTokenaccount
identity.getCredentials in interface AuthenticationTokenCopyright © 2011-2016 OpenESB Community. All Rights Reserved.