Package de.xima.fc.user
Class VirtualUser
java.lang.Object
de.xima.fc.user.VirtualUser
- All Implemented Interfaces:
- IUser,- Serializable
Model for virtual users such as the SYSTEM user.
- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionstatic VirtualUser.BuilderReturns all client authorizations this user has been assigned.getEmail()getRoles()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.xima.fc.interfaces.user.IUsergetAuthorizedClients, getClientAuthorizations, getClientInboxes, getClientUserGroups, getInboxes, getScopedUserGroups, getUserGroups, hasClientPermission, hasClientRole, hasGeneralPermission, hasSystemPermission, hasSystemRole
- 
Field Details- 
SYSTEM
- 
ANONYMOUS
 
- 
- 
Method Details- 
getUniversalReferenceId- Specified by:
- getUniversalReferenceIdin interface- IUser
- Returns:
- the universal reference ID of this user. The universal reference ID is unique for every user within the
     system across all authentication clients. See UserMgmtUtils.getUniversalReferenceId(EHashAlgorithm, String, String)for universal reference ID format.
 
- 
getAuthenticationContext- Specified by:
- getAuthenticationContextin interface- IUser
- Returns:
- the authentication context for this user. The authentication context contains information about how the user authenticated. Virtual users don't have an authentication context because they have never been authenticated.
 
- 
getEmail
- 
getUserName- Specified by:
- getUserNamein interface- IUser
- Returns:
- the user name of this user within the formcycle system if there is any and nullotherwise.
 
- 
getFirstName- Specified by:
- getFirstNamein interface- IUser
- Returns:
- the first name of the user if there is any. The first name may come from the formcycle profile or the profile returned by the authentication client.
 
- 
getFamilyName- Specified by:
- getFamilyNamein interface- IUser
- Returns:
- the family name of the user if there is any. The family name may come from the formcycle profile or the profile returned by the authentication client.
 
- 
getDisplayName- Specified by:
- getDisplayNamein interface- IUser
- Returns:
- the display name of the user if there is any. The display name may come from the formcycle profile or the profile returned by the authentication client and is usually the full name (first and family name separated by whitespace).
 
- 
getGender- Specified by:
- getGenderin interface- IUser
- Returns:
- the gender of the user if there is any specified and EGender.UNSPECIFIEDotherwise. The gender may come from the formcycle profile or the profile returned by the authentication client.
 
- 
getPictureUrl- Specified by:
- getPictureUrlin interface- IUser
- Returns:
- the picture URL of the user if there is any and nullotherwise. The picture URL may come from the profile returned by the authentication client.
 
- 
getProfile- Specified by:
- getProfilein interface- IUser
- Returns:
- the formcycle profile of the user if a match was found in the system and nullotherwise.
 
- 
getRoles- Specified by:
- getRolesin interface- IUser
- Returns:
- A Setof roles of the user within the system. Roles are scoped to clients or the system. For the format of client roles seeUserMgmtUtils.getClientRole(Mandant, String). The format of system roles is just the role name.
 
- 
getPermissions- Specified by:
- getPermissionsin interface- IUser
- Returns:
- A Setof permission the user has within the system. Permissions are scoped to clients or the system. For the format of client permissions seeUserMgmtUtils.getClientPermission(Mandant, String). The format of system permissions is just the permission name.
 
- 
getClientAuthorizationsDescription copied from interface:IUserReturns all client authorizations this user has been assigned. Client authorizations may be direct through a FOMRCYCLE account (seeDirectClientAuthorization.getUserProfile()) or in indirect through filters (seeIndirectClientAuthorization). The super user has authorizations to all clients that have super user access enabled (seeMandant.isSadminAccess()).- Specified by:
- getClientAuthorizationsin interface- IUser
- Returns:
- a set of all authorizations for this user within the given client.
 
- 
builder
 
-