Class AuthLogicHelper


  • public class AuthLogicHelper
    extends Object
    Helper class for security logics.
    Since:
    7.2.0
    Author:
    XIMA Media GmbH
    • Constructor Detail

      • AuthLogicHelper

        public AuthLogicHelper()
    • 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)