Principal.Anonymous, Principal.SuperUser
Modifier and Type | Field and Description |
---|---|
static Principal.SuperUser |
INSTANCE |
Constructor and Description |
---|
SuperUser() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDisplayName() |
java.lang.String |
getUserName() |
int |
hashCode() |
static boolean |
isSuperUser(Principal principal) |
public static final Principal.SuperUser INSTANCE
public static boolean isSuperUser(Principal principal)
public java.lang.String getUserName()
getUserName
in interface Principal
public java.lang.String getDisplayName()
getDisplayName
in interface Principal
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object