public class BasicIdentifiableCredential
extends java.lang.Object
implements org.apereo.cas.authentication.Credential, java.io.Serializable
BasicIdentifiableCredential, a simple credential implementation
that is only recognized by its id. The id generally represents an authentication token
encrypted in some fashion.| Constructor and Description |
|---|
BasicIdentifiableCredential(java.lang.String id)
Instantiates a new Basic identifiable credential.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getId() |
int |
hashCode() |
void |
setId(java.lang.String id) |
java.lang.String |
toString() |
public BasicIdentifiableCredential(java.lang.String id)
id - the idpublic void setId(java.lang.String id)
public java.lang.String getId()
getId in interface org.apereo.cas.authentication.Credentialpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object