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