Class AnyoneConfigWrapper
java.lang.Object
de.xima.fc.web.common.auth.wrapper.config.AnyoneConfigWrapper
- All Implemented Interfaces:
IAuthenticatorConfigWrapper
,IStringAttributesMixin
,Serializable
Wrapper for virtual authenticator config for anyone. This config wrapper is used for when there is no access
restriction
- Since:
- 7.0.5
- Author:
- XIMA Media GmbH
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuildAuthClients
(IFormAuthContext authCtx) Builds the authentication clients based on the current data of the wrapperorg.pac4j.core.authorization.authorizer.Authorizer
buildAuthorizer
(IFormAuthContext authCtx) Builds the authorizer base on the current data of the wrapperMethods 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.auth.config.IAuthenticatorConfigWrapper
getAuthenticatorToken, getAuthenticatorType
Methods inherited from interface de.xima.fc.interfaces.mixin.attributes.IStringAttributesMixin
getAttributeValue, getAttributeValueList, getAttributeValueMap, putAttribute, putAttributes, putAttributes, removeAttribute
-
Field Details
-
INSTANCE
-
-
Method Details
-
getClientDescriptor
- Specified by:
getClientDescriptor
in interfaceIAuthenticatorConfigWrapper
- Returns:
- Descriptor of the authentication client.
-
getAttributes
- Specified by:
getAttributes
in interfaceIAuthenticatorConfigWrapper
- Specified by:
getAttributes
in interfaceIStringAttributesMixin
- Returns:
- custom attributes of this authenticator config
-
getRenderer
- Specified by:
getRenderer
in interfaceIAuthenticatorConfigWrapper
- Returns:
- config renderer that is used to create the rendered HTML of the authenticator config
-
buildAuthClients
Description copied from interface:IAuthenticatorConfigWrapper
Builds the authentication clients based on the current data of the wrapper- Specified by:
buildAuthClients
in interfaceIAuthenticatorConfigWrapper
- Parameters:
authCtx
-IFormAuthContext
to build the client for- Returns:
- the
Client
-
buildAuthorizer
Description copied from interface:IAuthenticatorConfigWrapper
Builds the authorizer base on the current data of the wrapper- Specified by:
buildAuthorizer
in interfaceIAuthenticatorConfigWrapper
- Parameters:
authCtx
-IFormAuthContext
to build the authorizers for- Returns:
- the
Authorizer
-