Package de.xima.fc.mdl.auth.config
Class VirtualAuthenticatorConfig
- java.lang.Object
-
- de.xima.fc.mdl.auth.config.VirtualAuthenticatorConfig
-
- All Implemented Interfaces:
IAuthenticatorConfig
,IStringAttributesMixin
,Serializable
public class VirtualAuthenticatorConfig extends Object implements IAuthenticatorConfig
Authenticator config model for type authenticator configs that are not persisted- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getAttributes()
IAuthenticator<?>
getAuthenticator()
String
getAuthenticatorToken()
EAuthClientType
getAuthenticatorType()
String
getI18nPlaceholder()
String
getIdentifier()
static VirtualAuthenticatorConfig
ofType(EAuthClientType authenticatorType)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.interfaces.mixin.attributes.IStringAttributesMixin
getAttributeValue, getAttributeValueList, getAttributeValueMap, putAttribute, putAttributes, putAttributes, removeAttribute
-
-
-
-
Method Detail
-
ofType
public static VirtualAuthenticatorConfig ofType(EAuthClientType authenticatorType)
-
getAttributes
public Map<String,String> getAttributes()
- Specified by:
getAttributes
in interfaceIStringAttributesMixin
- Returns:
- the string attributes
-
getAuthenticatorType
public EAuthClientType getAuthenticatorType()
- Specified by:
getAuthenticatorType
in interfaceIAuthenticatorConfig
- Returns:
- Type of authenticator represented by this config
-
getAuthenticatorToken
public String getAuthenticatorToken()
- Specified by:
getAuthenticatorToken
in interfaceIAuthenticatorConfig
- Returns:
- name (if it is a system authenticator) or callback UUID (if it is a client authenticator)
-
getAuthenticator
public IAuthenticator<?> getAuthenticator()
- Specified by:
getAuthenticator
in interfaceIAuthenticatorConfig
- Returns:
- persisted authenticator entity to be used. If
null
then a custom authenticator is defined
-
getIdentifier
public String getIdentifier()
- Specified by:
getIdentifier
in interfaceIAuthenticatorConfig
- Returns:
- a unique key identifying this authenticator config
-
getI18nPlaceholder
public String getI18nPlaceholder()
- Specified by:
getI18nPlaceholder
in interfaceIAuthenticatorConfig
- Returns:
- the I18N placeholder for the authenticator button name
-
-