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>>
@Entity public class UserIdentity extends AbstractLockableEntity implements IUserIdentity
User identities are the connection betweenSystemAuthenticators andUserProfiles. They identify profiles within a specified authenticator.UserProfilemay have multiple identities.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_AUTHENTICATOR_TYPEstatic StringATTR_CLIENT_AUTHENTICATORstatic StringATTR_CREATED_INSTANTstatic StringATTR_IDENTIFIERstatic StringATTR_PROFILEstatic StringATTR_REMOVE_EXPIRE_INSTANTstatic StringATTR_REMOVE_UUIDstatic StringATTR_SYSTEM_AUTHENTICATORstatic StringCOL_AUTHENTICATORDeprecated.UseCOL_SYSTEM_AUTHENTICATOR_IDinstead.static StringCOL_AUTHENTICATOR_TYPEstatic StringCOL_CLIENT_AUTHENTICATOR_IDstatic StringCOL_CREATED_TIMESTAMPstatic StringCOL_IDENTIFIERstatic StringCOL_PROFILEstatic StringCOL_REMOVE_EXPIRE_TIMESTAMPstatic StringCOL_REMOVE_UUIDstatic StringCOL_SYSTEM_AUTHENTICATOR_ID-
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.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, NULLABLE_UUID_TYPE, TYPE_NAME_UUID
-
-
Constructor Summary
Constructors Constructor Description UserIdentity()
-
Method Summary
-
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
-
-
-
-
Field Detail
-
COL_IDENTIFIER
public static final String COL_IDENTIFIER
- See Also:
- Constant Field Values
-
COL_AUTHENTICATOR_TYPE
public static final String COL_AUTHENTICATOR_TYPE
- See Also:
- Constant Field Values
-
COL_SYSTEM_AUTHENTICATOR_ID
public static final String COL_SYSTEM_AUTHENTICATOR_ID
- See Also:
- Constant Field Values
-
COL_CLIENT_AUTHENTICATOR_ID
public static final String COL_CLIENT_AUTHENTICATOR_ID
- See Also:
- Constant Field Values
-
COL_PROFILE
public static final String COL_PROFILE
- See Also:
- Constant Field Values
-
COL_REMOVE_UUID
public static final String COL_REMOVE_UUID
- See Also:
- Constant Field Values
-
COL_REMOVE_EXPIRE_TIMESTAMP
public static final String COL_REMOVE_EXPIRE_TIMESTAMP
- See Also:
- Constant Field Values
-
COL_CREATED_TIMESTAMP
public static final String COL_CREATED_TIMESTAMP
- See Also:
- Constant Field Values
-
ATTR_IDENTIFIER
public static final String ATTR_IDENTIFIER
- See Also:
- Constant Field Values
-
ATTR_AUTHENTICATOR_TYPE
public static final String ATTR_AUTHENTICATOR_TYPE
- See Also:
- Constant Field Values
-
ATTR_SYSTEM_AUTHENTICATOR
public static final String ATTR_SYSTEM_AUTHENTICATOR
- See Also:
- Constant Field Values
-
ATTR_CLIENT_AUTHENTICATOR
public static final String ATTR_CLIENT_AUTHENTICATOR
- See Also:
- Constant Field Values
-
ATTR_PROFILE
public static final String ATTR_PROFILE
- See Also:
- Constant Field Values
-
ATTR_REMOVE_UUID
public static final String ATTR_REMOVE_UUID
- See Also:
- Constant Field Values
-
ATTR_REMOVE_EXPIRE_INSTANT
public static final String ATTR_REMOVE_EXPIRE_INSTANT
- See Also:
- Constant Field Values
-
ATTR_CREATED_INSTANT
public static final String ATTR_CREATED_INSTANT
- See Also:
- Constant Field Values
-
COL_AUTHENTICATOR
@Deprecated public static final String COL_AUTHENTICATOR
Deprecated.UseCOL_SYSTEM_AUTHENTICATOR_IDinstead.- See Also:
COL_SYSTEM_AUTHENTICATOR_ID, Constant Field Values
-
-
Method Detail
-
setId
public void setId(Long id)
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
public String 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
public void setUUID(String uuid)
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
public UUID 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
public void setUUIDObject(UUID uuid)
-
getIdentifier
public String getIdentifier()
- Specified by:
getIdentifierin interfaceIUserIdentity- Returns:
- a string that uniquely identifies a user within the
clientof this user identity.
-
setIdentifier
public void setIdentifier(String identifier)
-
getAuthenticatorType
public EAuthClientType getAuthenticatorType()
-
getClientIdentifier
public String getClientIdentifier()
-
getClientScope
public String getClientScope()
-
getClientName
public String getClientName()
-
getClientDescriptor
public IClientDescriptor getClientDescriptor()
- Specified by:
getClientDescriptorin interfaceIUserIdentity- Returns:
- the client descriptor that is used for signing in.
-
setClientDescriptor
public void setClientDescriptor(IClientDescriptor clientDescriptor)
-
getUserProfile
public UserProfile getUserProfile()
- Specified by:
getUserProfilein interfaceIUserIdentity- Returns:
- the user profile this identity is connected to.
-
setUserProfile
public void setUserProfile(UserProfile profile)
-
getRemoveUuid
public UUID getRemoveUuid()
-
setRemoveUuid
public void setRemoveUuid(UUID removeUuid)
-
getRemoveExpireInstant
public Instant getRemoveExpireInstant()
-
setRemoveExpireInstant
public void setRemoveExpireInstant(Instant removeExpireInstant)
-
getCreatedInstant
public Instant getCreatedInstant()
-
setCreatedInstant
public void setCreatedInstant(Instant createdInstant)
-
setAuthenticatorType
@Deprecated public void setAuthenticatorType(EAuthClientType authenticatorType)
Deprecated.UssetClientDescriptor(IClientDescriptor)instead.
-
getSystemAuthenticator
@Deprecated public SystemAuthenticator getSystemAuthenticator()
Deprecated.UsegetClientDescriptor()andIClientDescriptor.getAuthenticator()instead.
-
setSystemAuthenticator
@Deprecated public void setSystemAuthenticator(SystemAuthenticator systemAuthenticator)
Deprecated.UssetClientDescriptor(IClientDescriptor)instead.
-
getClientAuthenticator
@Deprecated public ClientAuthenticator getClientAuthenticator()
Deprecated.UsegetClientDescriptor()andIClientDescriptor.getAuthenticator()instead.
-
setClientAuthenticator
@Deprecated public void setClientAuthenticator(ClientAuthenticator clientAuthenticator)
Deprecated.UssetClientDescriptor(IClientDescriptor)instead.
-
-