public class NullPrincipal
extends java.lang.Object
implements org.apereo.cas.authentication.principal.Principal
Authentications in the event that no
principal is resolved during the authentication process.| Modifier | Constructor and Description |
|---|---|
protected |
NullPrincipal()
Instantiates a new Null principal.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes() |
java.lang.String |
getId() |
static NullPrincipal |
getInstance()
Returns the single instance of this class.
|
int |
hashCode() |
public static NullPrincipal getInstance()
public java.lang.String getId()
getId in interface org.apereo.cas.authentication.principal.Principalpublic java.util.Map<java.lang.String,java.lang.Object> getAttributes()
getAttributes in interface org.apereo.cas.authentication.principal.Principalpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object