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
public class AnonymousUser extends User
-
-
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, 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, isActive, 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, getName, getNextGroups, getProcessRoles, getState, getSurname, getTelNumber, isActive, removeGroup, removeProcessRole, setAuthorities, setEmail, 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
-
-