Class AxelorCsrfAuthorizer

  • All Implemented Interfaces:
    org.pac4j.core.authorization.authorizer.Authorizer

    @Singleton
    public class AxelorCsrfAuthorizer
    extends org.pac4j.core.authorization.authorizer.CsrfAuthorizer
    • Constructor Detail

      • AxelorCsrfAuthorizer

        @Inject
        public AxelorCsrfAuthorizer​(ClientListService clientListService)
    • Method Detail

      • isAuthorized

        public boolean isAuthorized​(org.pac4j.core.context.WebContext context,
                                    org.pac4j.core.context.session.SessionStore sessionStore,
                                    List<org.pac4j.core.profile.UserProfile> profiles)
        Matches AxelorCsrfGenerator behavior.
        Specified by:
        isAuthorized in interface org.pac4j.core.authorization.authorizer.Authorizer
        Overrides:
        isAuthorized in class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
        Parameters:
        context - the web context
        sessionStore - the session store
        profiles - the user profiles
        Returns:
        whether the access is authorized