Class AnonymousUser
- java.lang.Object
-
- com.netgrif.application.engine.auth.domain.AbstractUser
-
- com.netgrif.application.engine.auth.domain.User
-
- com.netgrif.application.engine.auth.domain.AnonymousUser
-
- All Implemented Interfaces:
IUser
,RegisteredUser
,java.io.Serializable
public class AnonymousUser extends User
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.netgrif.application.engine.auth.domain.User
_id, avatar, email, expirationDate, name, password, surname, telNumber, token, UNKNOWN
-
Fields inherited from class com.netgrif.application.engine.auth.domain.AbstractUser
authorities, impersonated, nextGroups, processRoles, state
-
-
Constructor Summary
Constructors Constructor Description AnonymousUser()
AnonymousUser(java.lang.String email, java.lang.String password, java.lang.String name, java.lang.String surname)
AnonymousUser(org.bson.types.ObjectId id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoggedUser
transformToLoggedUser()
-
Methods inherited from class com.netgrif.application.engine.auth.domain.User
getFullName, getId, getStringId, toString
-
Methods inherited from class com.netgrif.application.engine.auth.domain.AbstractUser
addAuthority, addGroup, addProcessRole, getSelfOrImpersonated, isActive, isImpersonating, removeGroup, removeProcessRole, transformToAuthor
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.netgrif.application.engine.auth.domain.IUser
addAuthority, addGroup, addProcessRole, getAuthorities, getAvatar, getEmail, getImpersonated, getName, getNextGroups, getProcessRoles, getSelfOrImpersonated, getState, getSurname, getTelNumber, isActive, isImpersonating, removeGroup, removeProcessRole, setAuthorities, setEmail, setImpersonated, setName, setNextGroups, setProcessRoles, setState, setSurname, transformToAuthor
-
Methods inherited from interface com.netgrif.application.engine.auth.domain.RegisteredUser
getPassword, getToken, setExpirationDate, setPassword, setToken
-
-
-
-
Method Detail
-
transformToLoggedUser
public LoggedUser transformToLoggedUser()
- Specified by:
transformToLoggedUser
in interfaceIUser
- Overrides:
transformToLoggedUser
in classUser
-
-