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 -
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore)
-
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 interfaceorg.pac4j.core.matching.matcher.Matcher
-