Class EntityConfigWrapper
- java.lang.Object
 - 
- de.xima.fc.web.common.auth.wrapper.config.EntityConfigWrapper
 
 
- 
- All Implemented Interfaces:
 IAuthenticatorConfigWrapper,IStringAttributesMixin,Serializable
public class EntityConfigWrapper extends Object
Wrapper for authenticator configs that use anIAuthenticatorentity- Since:
 - 7.0.0
 - Author:
 - XIMA MEDIA GmbH
 - See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.LoggerLOG 
- 
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()Builds the authorizer base on the current data of the wrapperMap<String,String>getAttributes()StringgetAuthenticatorToken()EAuthClientTypegetAuthenticatorType()IAuthenticatorConfigRenderergetRenderer()protected IAuthenticatorConfiggetWrapped()- 
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
- 
getRenderer
public IAuthenticatorConfigRenderer getRenderer()
- 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- Parameters:
 authCtx-IFormAuthContextto build the client for- Returns:
 - the 
Client 
 
- 
buildAuthorizer
public org.pac4j.core.authorization.authorizer.Authorizer buildAuthorizer()
Description copied from interface:IAuthenticatorConfigWrapperBuilds the authorizer base on the current data of the wrapper- Returns:
 - the 
Authorizer 
 
- 
getAuthenticatorType
public EAuthClientType getAuthenticatorType()
- Specified by:
 getAuthenticatorTypein interfaceIAuthenticatorConfigWrapper- Returns:
 - type of the authenticator config
 
 
- 
getAuthenticatorToken
public String getAuthenticatorToken()
- Specified by:
 getAuthenticatorTokenin interfaceIAuthenticatorConfigWrapper- Returns:
 - name (if it is a system authenticator) or callback UUID (if it is a client authenticator)
 
 
- 
getAttributes
public Map<String,String> getAttributes()
- Specified by:
 getAttributesin interfaceIAuthenticatorConfigWrapper- Specified by:
 getAttributesin interfaceIStringAttributesMixin- Returns:
 - custom attributes of this authenticator config
 
 
- 
getWrapped
protected IAuthenticatorConfig getWrapped()
 
 - 
 
 -