Package com.enonic.xp.security
Class User
- java.lang.Object
-
- com.enonic.xp.security.Principal
-
- com.enonic.xp.security.User
-
@PublicApi public final class User extends Principal
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
User.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static User.Builder
create()
static User.Builder
create(User user)
boolean
equals(java.lang.Object o)
java.lang.String
getAuthenticationHash()
java.lang.String
getEmail()
java.lang.String
getLogin()
PropertyTree
getProfile()
int
hashCode()
boolean
isDisabled()
-
Methods inherited from class com.enonic.xp.security.Principal
getDescription, getDisplayName, getKey, getModifiedTime
-
-
-
-
Field Detail
-
ANONYMOUS
public static final User ANONYMOUS
-
-
Method Detail
-
getEmail
public java.lang.String getEmail()
-
getLogin
public java.lang.String getLogin()
-
getAuthenticationHash
public java.lang.String getAuthenticationHash()
-
isDisabled
public boolean isDisabled()
-
getProfile
public PropertyTree getProfile()
-
create
public static User.Builder create()
-
create
public static User.Builder create(User user)
-
-