Package de.xima.fc.entities
Class AAuthenticatorConfig
java.lang.Object
de.xima.cmn.dao.model.AEntity<Long>
de.xima.fc.entities.AbstractEntity
de.xima.fc.entities.AbstractLockableEntity
de.xima.fc.entities.ALockableEntity
de.xima.fc.entities.AAuthenticatorConfig
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>
,de.xima.cmn.dao.interfaces.ILockableEntity<Long>
,IAuthenticatorConfig
,ILockingVersionProviding
,ITransferable
,ITransferableEntity
,ITransferableLockableEntity
,IStringAttributesMixin
,Serializable
,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
- Direct Known Subclasses:
ProjectAuthenticatorConfig
,WorkflowStateAuthenticatorConfig
@MappedSuperclass
public abstract class AAuthenticatorConfig
extends ALockableEntity
implements IAuthenticatorConfig
Abstract base class for authenticator configurations
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
protected @NotNull EAuthClientType
protected ClientAuthenticator
protected SystemAuthenticator
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.getDisplayName
(Locale locale) Deprecated.void
setAuthenticator
(IAuthenticator<?> authenticator) void
setAuthenticatorType
(EAuthClientType authenticatorType) void
setClientAuthenticator
(ClientAuthenticator clientAuthenticator) void
setSystemAuthenticator
(SystemAuthenticator systemAuthenticator) toString()
Methods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion
Methods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setId, 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
getId, isPersisted, setId
Methods inherited from interface de.xima.fc.interfaces.mixin.attributes.IStringAttributesMixin
getAttributes, getAttributeValue, getAttributeValueList, getAttributeValueMap, putAttribute, putAttributes, putAttributes, removeAttribute
-
Field Details
-
ATTR_CLIENTAUTHENTICATOR
- See Also:
-
ATTR_SYSTEMAUTHENTICATOR
- See Also:
-
ATTR_AUTHENTICATOR_TYPE
- See Also:
-
ATTR_ORDER_IDX
- See Also:
-
authenticatorType
-
clientAuthenticator
-
systemAuthenticator
-
-
Constructor Details
-
AAuthenticatorConfig
public AAuthenticatorConfig()
-
-
Method Details
-
getAuthenticatorType
- Specified by:
getAuthenticatorType
in interfaceIAuthenticatorConfig
- Returns:
- Type of authenticator represented by this config
-
setAuthenticatorType
-
getClientAuthenticator
-
setClientAuthenticator
-
getSystemAuthenticator
-
setSystemAuthenticator
-
getAuthenticator
- Specified by:
getAuthenticator
in interfaceIAuthenticatorConfig
- Returns:
- persisted authenticator entity to be used. If
null
then a custom authenticator is defined
-
setAuthenticator
-
getClientDescriptor
- Specified by:
getClientDescriptor
in interfaceIAuthenticatorConfig
- Returns:
- Descriptor of the authentication client.
-
getIdentifier
- Specified by:
getIdentifier
in interfaceIAuthenticatorConfig
- Returns:
- a unique key identifying this authenticator config
-
getDisplayName
-
toString
- Overrides:
toString
in classAbstractLockableEntity
-
getAuthenticatorToken
Deprecated.UseIClientDescriptor.getClientName()
instead.- Specified by:
getAuthenticatorToken
in interfaceIAuthenticatorConfig
- Returns:
- name (if it is a system authenticator) or callback UUID (if it is a client authenticator)
-
getI18nPlaceholder
Deprecated.- Specified by:
getI18nPlaceholder
in interfaceIAuthenticatorConfig
- Returns:
- the I18N placeholder for the authenticator button name
-
IClientDescriptor.getClientName()
instead.