Class AnyoneConfigWrapper
- java.lang.Object
 - 
- de.xima.fc.web.common.auth.wrapper.config.AnyoneConfigWrapper
 
 
- 
- All Implemented Interfaces:
 IAuthenticatorConfigWrapper,IStringAttributesMixin,Serializable
public class AnyoneConfigWrapper extends Object implements IAuthenticatorConfigWrapper
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:
 - Serialized Form
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static AnyoneConfigWrapperINSTANCE 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IAuthenticatorClientsbuildAuthClients(IFormAuthContext authCtx)Builds the authentication clients based on the current data of the wrapperorg.pac4j.core.authorization.authorizer.AuthorizerbuildAuthorizer(IFormAuthContext authCtx)Builds the authorizer base on the current data of the wrapperMap<String,String>getAttributes()IClientDescriptorgetClientDescriptor()IAuthenticatorConfigRenderergetRenderer()- 
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.auth.config.IAuthenticatorConfigWrapper
getAuthenticatorToken, getAuthenticatorType 
- 
Methods inherited from interface de.xima.fc.interfaces.mixin.attributes.IStringAttributesMixin
getAttributeValue, getAttributeValueList, getAttributeValueMap, putAttribute, putAttributes, putAttributes, removeAttribute 
 - 
 
 - 
 
- 
- 
Field Detail
- 
INSTANCE
public static final AnyoneConfigWrapper INSTANCE
 
 - 
 
- 
Method Detail
- 
getClientDescriptor
public IClientDescriptor getClientDescriptor()
- Specified by:
 getClientDescriptorin interfaceIAuthenticatorConfigWrapper- Returns:
 - Descriptor of the authentication client.
 
 
- 
getAttributes
public Map<String,String> getAttributes()
- Specified by:
 getAttributesin interfaceIAuthenticatorConfigWrapper- Specified by:
 getAttributesin interfaceIStringAttributesMixin- Returns:
 - custom attributes of this authenticator config
 
 
- 
getRenderer
public IAuthenticatorConfigRenderer getRenderer()
- Specified by:
 getRendererin interfaceIAuthenticatorConfigWrapper- Returns:
 - config renderer that is used to create the rendered HTML of the authenticator config
 
 
- 
buildAuthClients
public IAuthenticatorClients buildAuthClients(IFormAuthContext authCtx)
Description copied from interface:IAuthenticatorConfigWrapperBuilds the authentication clients based on the current data of the wrapper- Specified by:
 buildAuthClientsin interfaceIAuthenticatorConfigWrapper- Parameters:
 authCtx-IFormAuthContextto build the client for- Returns:
 - the 
Client 
 
- 
buildAuthorizer
public org.pac4j.core.authorization.authorizer.Authorizer buildAuthorizer(IFormAuthContext authCtx)
Description copied from interface:IAuthenticatorConfigWrapperBuilds the authorizer base on the current data of the wrapper- Specified by:
 buildAuthorizerin interfaceIAuthenticatorConfigWrapper- Parameters:
 authCtx-IFormAuthContextto build the authorizers for- Returns:
 - the 
Authorizer 
 
 - 
 
 -