public class PasswordCredential extends Credential
dataObjects, notes, password, username
Constructor and Description |
---|
PasswordCredential(String username,
String password)
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Returns a clone of this context.
|
boolean |
equals(Object obj)
Check two SecurityContexts for equality.
|
int |
hashCode() |
String |
toString() |
addNote, containsNoteKey, getDataObject, getNoteValue, getPassword, getUsername, isValidFor, putDataObject, removeDataObject, setPassword, setUsername
public boolean equals(Object obj)
equals
in class Credential
obj
- the object to compare this withpublic Object clone() throws CloneNotSupportedException
clone
in class Credential
CloneNotSupportedException
public int hashCode()
hashCode
in class Credential