Class UserIdentity
java.lang.Object
de.xima.cmn.dao.model.AEntity<Long>
de.xima.fc.entities.AbstractEntity
de.xima.fc.entities.AbstractLockableEntity
de.xima.fc.entities.UserIdentity
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>, de.xima.cmn.dao.interfaces.ILockableEntity<Long>, ILockingVersionProviding, ITransferable, ITransferableEntity, ITransferableLockableEntity, IUserIdentity, IUUIDEntity, Serializable, Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
User identities are the connection between
SystemAuthenticators and UserProfiles. They identify
profiles within a specified authenticator. UserProfile may have multiple identities.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringDeprecated.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersionFields inherited from class AbstractEntity
COL_ID, idFields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_IDFields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSIONFields inherited from interface ITransferableEntity
IMPORT_ID, INVALID_IDFields inherited from interface IUUIDEntity
ATTR_UUID, COL_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, NULLABLE_UUID_TYPE, TYPE_NAME_UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.UsegetClientDescriptor()andIClientDescriptor.getAuthenticator()instead.@NotNull IClientDescriptorgetId()Deprecated.UsegetClientDescriptor()andIClientDescriptor.getAuthenticator()instead.getUUID()Gets the UUID (universal unique identifier) that uniquely identifies this type of entity.Gets the UUID (universal unique identifier) that uniquely identifies this type of entity.voidsetAuthenticatorType(EAuthClientType authenticatorType) Deprecated.UssetClientDescriptor(IClientDescriptor)instead.voidsetClientAuthenticator(ClientAuthenticator clientAuthenticator) Deprecated.UssetClientDescriptor(IClientDescriptor)instead.voidsetClientDescriptor(IClientDescriptor clientDescriptor) voidsetCreatedInstant(Instant createdInstant) void!!!voidsetIdentifier(String identifier) voidsetRemoveExpireInstant(Instant removeExpireInstant) voidsetRemoveUuid(UUID removeUuid) voidsetSystemAuthenticator(SystemAuthenticator systemAuthenticator) Deprecated.UssetClientDescriptor(IClientDescriptor)instead.voidsetUserProfile(UserProfile profile) voidSets the UUID (universal unique identifier) that uniquely identifies this type of entity.voidsetUUIDObject(UUID uuid) Methods inherited from class AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toStringMethods inherited from class AbstractEntity
asIntValue, isPersisted, setIdMethods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCodeMethods inherited from interface Comparable
compareToMethods inherited from interface de.xima.cmn.dao.interfaces.IEntity
isPersisted
-
Field Details
-
COL_IDENTIFIER
- See Also:
-
COL_AUTHENTICATOR_TYPE
- See Also:
-
COL_SYSTEM_AUTHENTICATOR_ID
- See Also:
-
COL_CLIENT_AUTHENTICATOR_ID
- See Also:
-
COL_PROFILE
- See Also:
-
COL_REMOVE_UUID
- See Also:
-
COL_REMOVE_EXPIRE_TIMESTAMP
- See Also:
-
COL_CREATED_TIMESTAMP
- See Also:
-
ATTR_IDENTIFIER
- See Also:
-
ATTR_AUTHENTICATOR_TYPE
- See Also:
-
ATTR_SYSTEM_AUTHENTICATOR
- See Also:
-
ATTR_CLIENT_AUTHENTICATOR
- See Also:
-
ATTR_PROFILE
- See Also:
-
ATTR_REMOVE_UUID
- See Also:
-
ATTR_REMOVE_EXPIRE_INSTANT
- See Also:
-
ATTR_CREATED_INSTANT
- See Also:
-
COL_AUTHENTICATOR
Deprecated.UseCOL_SYSTEM_AUTHENTICATOR_IDinstead.- See Also:
-
-
Constructor Details
-
UserIdentity
public UserIdentity()
-
-
Method Details
-
getId
-
setId
Description copied from class:AbstractEntity!!!WARNING: Currently values biggerInteger.MAX_VALUEor lower thenInteger.MIN_VALUEwill be altered to null!!!- Specified by:
setIdin interfacede.xima.cmn.dao.interfaces.IEntity<Long>- Overrides:
setIdin classAbstractEntity- Parameters:
id-Longthe database-id to set
-
getUUID
Description copied from interface:IUUIDEntityGets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
getUUIDin interfaceIUUIDEntity- Returns:
- The UUID of the entity.
-
setUUID
Description copied from interface:IUUIDEntitySets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
setUUIDin interfaceIUUIDEntity- Parameters:
uuid- The UUID of the entity.
-
getUUIDObject
Description copied from interface:IUUIDEntityGets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
getUUIDObjectin interfaceIUUIDEntity- Returns:
- The UUID of the entity.
-
setUUIDObject
-
getIdentifier
- Specified by:
getIdentifierin interfaceIUserIdentity- Returns:
- a string that uniquely identifies a user within the
clientof this user identity.
-
setIdentifier
-
getAuthenticatorType
-
getClientIdentifier
-
getClientScope
-
getClientName
-
getClientDescriptor
- Specified by:
getClientDescriptorin interfaceIUserIdentity- Returns:
- the client descriptor that is used for signing in.
-
setClientDescriptor
-
getUserProfile
- Specified by:
getUserProfilein interfaceIUserIdentity- Returns:
- the user profile this identity is connected to.
-
setUserProfile
-
getRemoveUuid
-
setRemoveUuid
-
getRemoveExpireInstant
-
setRemoveExpireInstant
-
getCreatedInstant
-
setCreatedInstant
-
setAuthenticatorType
Deprecated.UssetClientDescriptor(IClientDescriptor)instead. -
getSystemAuthenticator
Deprecated.UsegetClientDescriptor()andIClientDescriptor.getAuthenticator()instead. -
setSystemAuthenticator
Deprecated.UssetClientDescriptor(IClientDescriptor)instead. -
getClientAuthenticator
Deprecated.UsegetClientDescriptor()andIClientDescriptor.getAuthenticator()instead. -
setClientAuthenticator
Deprecated.UssetClientDescriptor(IClientDescriptor)instead.
-
COL_SYSTEM_AUTHENTICATOR_IDinstead.