Package com.enonic.xp.security
Class Principal
- java.lang.Object
-
- com.enonic.xp.security.Principal
-
@PublicApi public abstract class Principal extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Principal.Builder<B>
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getDescription()
java.lang.String
getDisplayName()
PrincipalKey
getKey()
java.time.Instant
getModifiedTime()
int
hashCode()
-
-
-
Method Detail
-
getKey
public PrincipalKey getKey()
-
getDisplayName
public java.lang.String getDisplayName()
-
getModifiedTime
public java.time.Instant getModifiedTime()
-
getDescription
public java.lang.String getDescription()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-