Class FacesAjaxRequestMatcher

java.lang.Object
de.xima.fc.security.pac4j.matching.matcher.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 Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.pac4j.core.matching.matcher.Matcher
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    matches(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • REJECT

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

    • 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