Package de.xima.fc.web.common.auth.logic
Class AuthLogicHelper
java.lang.Object
de.xima.fc.web.common.auth.logic.AuthLogicHelper
Helper class for security logics.
- Since:
- 7.2.0
- Author:
- XIMA Media GmbH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
defaultBackendLoginLogic
(IAuthWebContext authContext, javax.servlet.FilterChain filterChain, Function<org.pac4j.core.context.WebContext, Optional<org.pac4j.core.client.Client>> clientSupplier) static Optional<org.pac4j.core.profile.UserProfile>
getUserProfileByAnyActiveAuthenticatorCallback
(IAuthWebContext authContext, javax.servlet.FilterChain filterChain) static void
performDefaultCallbackLogicForAnyActiveAuthenticator
(IAuthWebContext authContext, javax.servlet.FilterChain filterChain, Map<String, String> authenticationParams) static void
performDefaultCallbackLogicForAnyActiveAuthenticator
(org.pac4j.core.profile.UserProfile profile, IAuthWebContext authContext, javax.servlet.FilterChain filterChain, Map<String, String> authenticationParams) static void
performDefaultLoginLogicForAnyActiveAuthenticator
(IAuthWebContext authContext, javax.servlet.FilterChain filterChain)
-
Constructor Details
-
AuthLogicHelper
public AuthLogicHelper()
-
-
Method Details
-
performDefaultLoginLogicForAnyActiveAuthenticator
public static void performDefaultLoginLogicForAnyActiveAuthenticator(IAuthWebContext authContext, javax.servlet.FilterChain filterChain) -
performDefaultCallbackLogicForAnyActiveAuthenticator
public static void performDefaultCallbackLogicForAnyActiveAuthenticator(IAuthWebContext authContext, javax.servlet.FilterChain filterChain, Map<String, String> authenticationParams) -
getUserProfileByAnyActiveAuthenticatorCallback
public static Optional<org.pac4j.core.profile.UserProfile> getUserProfileByAnyActiveAuthenticatorCallback(IAuthWebContext authContext, javax.servlet.FilterChain filterChain) -
performDefaultCallbackLogicForAnyActiveAuthenticator
public static void performDefaultCallbackLogicForAnyActiveAuthenticator(org.pac4j.core.profile.UserProfile profile, IAuthWebContext authContext, javax.servlet.FilterChain filterChain, Map<String, String> authenticationParams) -
defaultBackendLoginLogic
public static void defaultBackendLoginLogic(IAuthWebContext authContext, javax.servlet.FilterChain filterChain, Function<org.pac4j.core.context.WebContext, Optional<org.pac4j.core.client.Client>> clientSupplier)
-