Package de.xima.fc.entities
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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class de.xima.fc.entities.AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersionFields inherited from class de.xima.fc.entities.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 de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_IDFields inherited from interface de.xima.fc.entities.interfaces.IUUIDEntity
ATTR_UUID, COL_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, TYPE_NAME_UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()getUUID()voidsetAuthenticatorType(EAuthClientType authenticatorType) Deprecated.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) voidvoidsetUUIDObject(UUID uuid) Methods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toStringMethods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setIdMethods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface de.xima.cmn.dao.interfaces.IEntity
isPersisted
-
Field Details
-
COL_IDENTIFIER
- See Also:
-
COL_AUTHENTICATOR_TYPE
- See Also:
-
COL_AUTHENTICATOR
- 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_PROFILE
- See Also:
-
ATTR_REMOVE_UUID
- See Also:
-
ATTR_REMOVE_EXPIRE_INSTANT
- See Also:
-
ATTR_CREATED_INSTANT
- See Also:
-
-
Constructor Details
-
UserIdentity
public UserIdentity()
-
-
Method Details
-
getId
- Specified by:
getIdin interfacede.xima.cmn.dao.interfaces.IEntity<Long>
-
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
- Specified by:
getUUIDin interfaceIUUIDEntity- Returns:
- UUID (Universal Unique Identifier) that identifies this type of entity. Usually is unique within a
context, e.g.
Mandant,Projekt, ...
-
setUUID
- Specified by:
setUUIDin interfaceIUUIDEntity
-
getUUIDObject
- Specified by:
getUUIDObjectin interfaceIUUIDEntity
-
setUUIDObject
-
getIdentifier
- Specified by:
getIdentifierin interfaceIUserIdentity- Returns:
- a string that uniquely identifies a user within the
clientof this user identity.
-
setIdentifier
-
getAuthenticatorType
-
getSystemAuthenticator
-
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. -
setSystemAuthenticator
Deprecated.UssetClientDescriptor(IClientDescriptor)instead.
-
setClientDescriptor(IClientDescriptor)instead.