Package de.xima.fc.web.common.auth.logic
Class AuthLogicHelper
- java.lang.Object
-
- de.xima.fc.web.common.auth.logic.AuthLogicHelper
-
public class AuthLogicHelper extends Object
Helper class for security logics.- Since:
- 7.2.0
- Author:
- XIMA Media GmbH
-
-
Constructor Summary
Constructors Constructor Description AuthLogicHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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)
-
-
-
Method Detail
-
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)
-
-