Interface IAuthenticatorConfigWrapper
-
- All Superinterfaces:
IStringAttributesMixin,Serializable
- All Known Implementing Classes:
AnonymousConfigWrapper,AnyoneConfigWrapper,EntityConfigWrapper,FormConfigWrapper,KerberosConfigWrapper,NtlmConfigWrapper,PasswordConfigWrapper
public interface IAuthenticatorConfigWrapper extends IStringAttributesMixin, Serializable
Common interface for authenticator config wrapper- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract 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()-
Methods inherited from interface de.xima.fc.interfaces.mixin.attributes.IStringAttributesMixin
getAttributeValue, getAttributeValueList, getAttributeValueMap, putAttribute, putAttributes, putAttributes, removeAttribute
-
-
-
-
Method Detail
-
getAuthenticatorType
EAuthClientType getAuthenticatorType()
- Returns:
- type of the authenticator config
-
getAuthenticatorToken
String getAuthenticatorToken()
- Returns:
- name (if it is a system authenticator) or callback UUID (if it is a client authenticator)
-
getAttributes
Map<String,String> getAttributes()
- Specified by:
getAttributesin interfaceIStringAttributesMixin- Returns:
- custom attributes of this authenticator config
-
getRenderer
IAuthenticatorConfigRenderer getRenderer()
- Returns:
- config renderer that is used to create the rendered HTML of the authenticator config
-
buildAuthClients
IAuthenticatorClients buildAuthClients(IFormAuthContext authCtx)
Builds the authentication clients based on the current data of the wrapper- Parameters:
authCtx-IFormAuthContextto build the client for- Returns:
- the
Client
-
buildAuthorizer
org.pac4j.core.authorization.authorizer.Authorizer buildAuthorizer()
Builds the authorizer base on the current data of the wrapper- Returns:
- the
Authorizer
-
-