Class DistinctUserConfigWrapper
java.lang.Object
de.xima.fc.web.common.auth.wrapper.config.DistinctUserConfigWrapper
- All Implemented Interfaces:
IAuthenticatorConfigWrapper, IStringAttributesMixin, Serializable
Authentication config wrapper for a distinct user.
- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuildAuthClients(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 wrapperstatic DistinctUserConfigWrappernewInstance(IUserReferenceResolver userRefResolver) Creates a newDistinctUserConfigWrapperfor the given user reference resolver.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IAuthenticatorConfigWrapper
getAuthenticatorToken, getAuthenticatorTypeMethods inherited from interface IStringAttributesMixin
getAttributeValue, getAttributeValueList, getAttributeValueMap, putAttribute, putAttributes, putAttributes, removeAttribute
-
Method Details
-
newInstance
Creates a newDistinctUserConfigWrapperfor the given user reference resolver.- Parameters:
userRefResolver- the user reference resolver to create theDistinctUserConfigWrapperfor.- Returns:
- new
DistinctUserConfigWrapperfor a distinct user defined by the given universal reference ID. - Throws:
NullPointerException- if noclientor profile check predicate could be determined.
-
getClientDescriptor
- Specified by:
getClientDescriptorin interfaceIAuthenticatorConfigWrapper- Returns:
- Descriptor of the authentication client.
-
getAttributes
- Specified by:
getAttributesin interfaceIAuthenticatorConfigWrapper- Specified by:
getAttributesin interfaceIStringAttributesMixin- Returns:
- custom attributes of this authenticator config
-
getRenderer
- Specified by:
getRendererin interfaceIAuthenticatorConfigWrapper- Returns:
- config renderer that is used to create the rendered HTML of the authenticator config
-
buildAuthClients
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
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
-