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,UserPortalAuthConfig,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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_AUTHENTICATOR_TYPEstatic StringATTR_CLIENTAUTHENTICATORstatic StringATTR_ORDER_IDXstatic StringATTR_SYSTEMAUTHENTICATORprotected @NotNull EAuthClientTypeauthenticatorTypeprotected ClientAuthenticatorclientAuthenticatorprotected SystemAuthenticatorsystemAuthenticator-
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
-
-
Constructor Summary
Constructors Constructor Description AAuthenticatorConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IAuthenticator<?>getAuthenticator()StringgetAuthenticatorToken()Deprecated.UseIClientDescriptor.getClientName()instead.EAuthClientTypegetAuthenticatorType()ClientAuthenticatorgetClientAuthenticator()IClientDescriptorgetClientDescriptor()StringgetDisplayName(Locale locale)StringgetI18nPlaceholder()Deprecated.StringgetIdentifier()SystemAuthenticatorgetSystemAuthenticator()voidsetAuthenticator(IAuthenticator<?> authenticator)voidsetAuthenticatorType(EAuthClientType authenticatorType)voidsetClientAuthenticator(ClientAuthenticator clientAuthenticator)voidsetClientDescriptor(IClientDescriptor clientDescriptor)voidsetSystemAuthenticator(SystemAuthenticator systemAuthenticator)StringtoString()-
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.fc.interfaces.mixin.attributes.IStringAttributesMixin
getAttributes, getAttributeValue, getAttributeValueList, getAttributeValueMap, putAttribute, putAttributes, putAttributes, removeAttribute
-
-
-
-
Field Detail
-
ATTR_CLIENTAUTHENTICATOR
public static final String ATTR_CLIENTAUTHENTICATOR
- See Also:
- Constant Field Values
-
ATTR_SYSTEMAUTHENTICATOR
public static final String ATTR_SYSTEMAUTHENTICATOR
- See Also:
- Constant Field Values
-
ATTR_AUTHENTICATOR_TYPE
public static final String ATTR_AUTHENTICATOR_TYPE
- See Also:
- Constant Field Values
-
ATTR_ORDER_IDX
public static final String ATTR_ORDER_IDX
- See Also:
- Constant Field Values
-
authenticatorType
@NotNull protected @NotNull EAuthClientType authenticatorType
-
clientAuthenticator
protected ClientAuthenticator clientAuthenticator
-
systemAuthenticator
protected SystemAuthenticator systemAuthenticator
-
-
Method Detail
-
getClientAuthenticator
public ClientAuthenticator getClientAuthenticator()
-
setClientAuthenticator
public void setClientAuthenticator(ClientAuthenticator clientAuthenticator)
-
getSystemAuthenticator
public SystemAuthenticator getSystemAuthenticator()
-
setSystemAuthenticator
public void setSystemAuthenticator(SystemAuthenticator systemAuthenticator)
-
getClientDescriptor
public IClientDescriptor getClientDescriptor()
- Specified by:
getClientDescriptorin interfaceIAuthenticatorConfig- Returns:
- Descriptor of the authentication client.
-
setClientDescriptor
public void setClientDescriptor(IClientDescriptor clientDescriptor)
-
getIdentifier
public String getIdentifier()
- Specified by:
getIdentifierin interfaceIAuthenticatorConfig- Returns:
- a unique key identifying this authenticator config
-
getAuthenticator
public IAuthenticator<?> getAuthenticator()
- Specified by:
getAuthenticatorin interfaceIAuthenticatorConfig- Returns:
- persisted authenticator entity to be used. If
nullthen a custom authenticator is defined
-
setAuthenticator
public void setAuthenticator(IAuthenticator<?> authenticator)
-
getAuthenticatorType
public EAuthClientType getAuthenticatorType()
- Specified by:
getAuthenticatorTypein interfaceIAuthenticatorConfig- Returns:
- Type of authenticator represented by this config
-
setAuthenticatorType
public void setAuthenticatorType(EAuthClientType authenticatorType)
-
getAuthenticatorToken
@Deprecated public String getAuthenticatorToken()
Deprecated.UseIClientDescriptor.getClientName()instead.- Specified by:
getAuthenticatorTokenin interfaceIAuthenticatorConfig- Returns:
- name (if it is a system authenticator) or callback UUID (if it is a client authenticator)
-
getI18nPlaceholder
@Deprecated public String getI18nPlaceholder()
Deprecated.- Specified by:
getI18nPlaceholderin interfaceIAuthenticatorConfig- Returns:
- the I18N placeholder for the authenticator button name
-
toString
public String toString()
- Overrides:
toStringin classAbstractLockableEntity
-
-