public class UsernamePasswordCredential extends AbstractClearableCredential
Constructor and Description |
---|
UsernamePasswordCredential(java.lang.String callerName,
Password password) |
UsernamePasswordCredential(java.lang.String callerName,
java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
void |
clearCredential() |
boolean |
compareTo(java.lang.String callerName,
java.lang.String password) |
java.lang.String |
getCaller() |
Password |
getPassword() |
java.lang.String |
getPasswordAsString() |
clear, isCleared, setCleared
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isValid
public UsernamePasswordCredential(java.lang.String callerName, java.lang.String password)
public UsernamePasswordCredential(java.lang.String callerName, Password password)
public Password getPassword()
public java.lang.String getPasswordAsString()
public void clearCredential()
clearCredential
in class AbstractClearableCredential
public java.lang.String getCaller()
public boolean compareTo(java.lang.String callerName, java.lang.String password)