Class FacesAjaxRequestMatcher

  • All Implemented Interfaces:
    org.pac4j.core.matching.matcher.Matcher

    public class FacesAjaxRequestMatcher
    extends Object
    implements org.pac4j.core.matching.matcher.Matcher
    Custom pac4j matcher that checks if the request is a JSF AJAX requests and may reject those. This may be used in order to boost performance by only checking the authorization on non JSF AJAX request.
    Since:
    8.0.0
    Author:
    XIMA Media GmbH
    • Field Detail

      • REJECT

        public static final org.pac4j.core.matching.matcher.Matcher REJECT
    • Method Detail

      • matches

        public boolean matches​(org.pac4j.core.context.WebContext context,
                               org.pac4j.core.context.session.SessionStore sessionStore)
        Specified by:
        matches in interface org.pac4j.core.matching.matcher.Matcher