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
SystemAuthenticator
s and UserProfile
s. 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 String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class de.xima.fc.entities.AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersion
Fields inherited from class de.xima.fc.entities.AbstractEntity
COL_ID, id
Fields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_ID
Fields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSION
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_ID
Fields 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()
void
setAuthenticatorType
(EAuthClientType authenticatorType) Deprecated.void
setClientDescriptor
(IClientDescriptor clientDescriptor) void
setCreatedInstant
(Instant createdInstant) void
!!!void
setIdentifier
(String identifier) void
setRemoveExpireInstant
(Instant removeExpireInstant) void
setRemoveUuid
(UUID removeUuid) void
setSystemAuthenticator
(SystemAuthenticator systemAuthenticator) Deprecated.UssetClientDescriptor(IClientDescriptor)
instead.void
setUserProfile
(UserProfile profile) void
void
setUUIDObject
(UUID uuid) Methods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toString
Methods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setId
Methods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
Methods 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:
getId
in interfacede.xima.cmn.dao.interfaces.IEntity<Long>
-
setId
Description copied from class:AbstractEntity
!!!WARNING: Currently values biggerInteger.MAX_VALUE
or lower thenInteger.MIN_VALUE
will be altered to null!!!- Specified by:
setId
in interfacede.xima.cmn.dao.interfaces.IEntity<Long>
- Overrides:
setId
in classAbstractEntity
- Parameters:
id
-Long
the database-id to set
-
getUUID
- Specified by:
getUUID
in 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:
setUUID
in interfaceIUUIDEntity
-
getUUIDObject
- Specified by:
getUUIDObject
in interfaceIUUIDEntity
-
setUUIDObject
-
getIdentifier
- Specified by:
getIdentifier
in interfaceIUserIdentity
- Returns:
- a string that uniquely identifies a user within the
client
of this user identity.
-
setIdentifier
-
getAuthenticatorType
-
getSystemAuthenticator
-
getClientIdentifier
-
getClientScope
-
getClientName
-
getClientDescriptor
- Specified by:
getClientDescriptor
in interfaceIUserIdentity
- Returns:
- the client descriptor that is used for signing in.
-
setClientDescriptor
-
getUserProfile
- Specified by:
getUserProfile
in 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.