@Introspected public class UsernamePasswordCredentials extends Object implements Serializable, AuthenticationRequest<String,String>
| Constructor and Description |
|---|
UsernamePasswordCredentials()
Empty constructor.
|
UsernamePasswordCredentials(String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getIdentity() |
String |
getPassword()
password getter.
|
String |
getSecret()
Returns password conforming to
AuthenticationRequest blueprint. |
String |
getUsername()
username getter.
|
int |
hashCode() |
void |
setPassword(String password)
password setter.
|
void |
setUsername(String username)
username setter.
|
public UsernamePasswordCredentials()
public String getUsername()
public void setUsername(String username)
username - e.g. adminpublic String getPassword()
public void setPassword(String password)
password - raw passwordpublic String getIdentity()
getIdentity in interface AuthenticationRequest<String,String>public String getSecret()
AuthenticationRequest blueprint.getSecret in interface AuthenticationRequest<String,String>