Class FormAjaxRequestResolver
- java.lang.Object
-
- org.pac4j.core.http.ajax.DefaultAjaxRequestResolver
-
- de.xima.fc.security.pac4j.http.ajax.FormAjaxRequestResolver
-
- All Implemented Interfaces:
org.pac4j.core.context.HttpConstants
,org.pac4j.core.http.ajax.AjaxRequestResolver
,org.pac4j.core.util.Pac4jConstants
- Direct Known Subclasses:
FormAjaxRequestResolver
public class FormAjaxRequestResolver extends org.pac4j.core.http.ajax.DefaultAjaxRequestResolver
AJAX request resolver for determining if a FORM request is an AJAX request.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
-
Field Summary
Fields Modifier and Type Field Description static org.pac4j.core.http.ajax.AjaxRequestResolver
INSTANCE
-
Fields inherited from interface org.pac4j.core.context.HttpConstants
ACCEPT_HEADER, ACCESS_CONTROL_ALLOW_CREDENTIALS_HEADER, ACCESS_CONTROL_ALLOW_HEADERS_HEADER, ACCESS_CONTROL_ALLOW_METHODS_HEADER, ACCESS_CONTROL_ALLOW_ORIGIN_HEADER, ACCESS_CONTROL_EXPOSE_HEADERS_HEADER, ACCESS_CONTROL_MAX_AGE_HEADER, AJAX_HEADER_NAME, AJAX_HEADER_VALUE, APPLICATION_FORM_ENCODED_HEADER_VALUE, APPLICATION_JSON, AUTHENTICATE_HEADER, AUTHORIZATION_HEADER, BAD_REQUEST, BASIC_HEADER_PREFIX, BEARER_HEADER_PREFIX, CONTENT_TYPE_HEADER, CREATED, DEFAULT_CONNECT_TIMEOUT, DEFAULT_HTTP_PORT, DEFAULT_HTTPS_PORT, DEFAULT_READ_TIMEOUT, DIGEST_HEADER_PREFIX, FACES_PARTIAL_AJAX_PARAMETER, FORBIDDEN, FOUND, HTML_CONTENT_TYPE, LOCATION_HEADER, NO_CONTENT, OK, SCHEME_HTTP, SCHEME_HTTPS, SEE_OTHER, TEMPORARY_REDIRECT, UNAUTHORIZED
-
Fields inherited from interface org.pac4j.core.util.Pac4jConstants
ADD_ELEMENT, AUTHORIZERS, CENTRAL_LOGOUT, CLIENT_NAME, CLIENTS, CONFIG_FACTORY, CSRF_TOKEN, CSRF_TOKEN_EXPIRATION_DATE, DEFAULT_CLIENT, DEFAULT_CLIENT_NAME_PARAMETER, DEFAULT_FORCE_CLIENT_PARAMETER, DEFAULT_LOGOUT_URL_PATTERN_VALUE, DEFAULT_REALM_NAME, DEFAULT_URL, DEFAULT_URL_VALUE, DESTROY_SESSION, ELEMENT_SEPARATOR, EMPTY_STRING, IS_AJAX_REQUEST, LOCAL_LOGOUT, LOGOUT_ENDPOINT_PARAMETER, LOGOUT_URL_PATTERN, MATCHERS, OIDC_CLAIM_SESSIONID, PASSWORD, PREVIOUS_CSRF_TOKEN, RENEW_SESSION, REQUESTED_URL, SESSION_ID, TYPED_ID_SEPARATOR, URL, USER_PROFILES, USERNAME
-
-
Constructor Summary
Constructors Constructor Description FormAjaxRequestResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAjax(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore)
-
-
-
Method Detail
-
isAjax
public boolean isAjax(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore)
- Specified by:
isAjax
in interfaceorg.pac4j.core.http.ajax.AjaxRequestResolver
- Overrides:
isAjax
in classorg.pac4j.core.http.ajax.DefaultAjaxRequestResolver
-
-