A C D G H I J N P R S V 
All Classes All Packages

A

AbstractCorsFilter - Class in io.jans.server.filters
CORS Filter to support both Tomcat and Jetty
AbstractCorsFilter() - Constructor for class io.jans.server.filters.AbstractCorsFilter
 
AbstractCorsFilter.CORSRequestType - Enum in io.jans.server.filters
Enumerates varies types of CORS requests.
ACTUAL - io.jans.server.filters.AbstractCorsFilter.CORSRequestType
A HTTP request that needs to be pre-flighted.

C

checkRequestType(HttpServletRequest) - Method in class io.jans.server.filters.AbstractCorsFilter
Determines the request type.
COMPLEX_HTTP_METHODS - Static variable in class io.jans.server.filters.AbstractCorsFilter
Collection of non-simple HTTP methods.

D

decorateCORSProperties(HttpServletRequest, AbstractCorsFilter.CORSRequestType) - Method in class io.jans.server.filters.AbstractCorsFilter
Decorates the HttpServletRequest, with CORS attributes.
DEFAULT_ALLOWED_HTTP_HEADERS - Static variable in class io.jans.server.filters.AbstractCorsFilter
By default, following headers are supported: Origin,Accept,X-Requested-With, Content-Type, Access-Control-Request-Method, and Access-Control-Request-Headers.
DEFAULT_ALLOWED_HTTP_METHODS - Static variable in class io.jans.server.filters.AbstractCorsFilter
By default, following methods are supported: GET, POST, HEAD and OPTIONS.
DEFAULT_ALLOWED_ORIGINS - Static variable in class io.jans.server.filters.AbstractCorsFilter
By default, all origins are allowed to make requests.
DEFAULT_DECORATE_REQUEST - Static variable in class io.jans.server.filters.AbstractCorsFilter
By default, request is decorated with CORS attributes.
DEFAULT_EXPOSED_HEADERS - Static variable in class io.jans.server.filters.AbstractCorsFilter
By default, none of the headers are exposed in response.
DEFAULT_PREFLIGHT_MAXAGE - Static variable in class io.jans.server.filters.AbstractCorsFilter
By default, time duration to cache pre-flight response is 30 mins.
DEFAULT_SUPPORTS_CREDENTIALS - Static variable in class io.jans.server.filters.AbstractCorsFilter
By default, support credentials is turned on.
destroy() - Method in class io.jans.server.filters.AbstractCorsFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class io.jans.server.filters.AbstractCorsFilter
 

G

getAllowedHttpHeaders() - Method in class io.jans.server.filters.AbstractCorsFilter
Returns a Set of headers support by resource.
getAllowedHttpMethods() - Method in class io.jans.server.filters.AbstractCorsFilter
Returns a Set of HTTP methods that are allowed to make requests.
getAllowedOrigins() - Method in class io.jans.server.filters.AbstractCorsFilter
Returns the Set of allowed origins that are allowed to make requests.
getContextClientAllowedOrigins(ServletRequest) - Method in class io.jans.server.filters.AbstractCorsFilter
 
getExposedHeaders() - Method in class io.jans.server.filters.AbstractCorsFilter
Returns a Set of headers that should be exposed by browser.
getPreflightMaxAge() - Method in class io.jans.server.filters.AbstractCorsFilter
Returns the preflight response cache time in seconds.

H

handlePreflightCORS(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class io.jans.server.filters.AbstractCorsFilter
Handles CORS pre-flight request.
handleSimpleCORS(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class io.jans.server.filters.AbstractCorsFilter
Handles a CORS request of type AbstractCorsFilter.CORSRequestType.SIMPLE.
hasContextClientAllowedOrigins(ServletRequest) - Method in class io.jans.server.filters.AbstractCorsFilter
 
HTTP_METHODS - Static variable in class io.jans.server.filters.AbstractCorsFilter
Collection of HTTP methods.
HTTP_REQUEST_ATTRIBUTE_IS_CORS_REQUEST - Static variable in class io.jans.server.filters.AbstractCorsFilter
Boolean value, suggesting if the request is a CORS request or not.
HTTP_REQUEST_ATTRIBUTE_ORIGIN - Static variable in class io.jans.server.filters.AbstractCorsFilter
Attribute that contains the origin of the request.
HTTP_REQUEST_ATTRIBUTE_PREFIX - Static variable in class io.jans.server.filters.AbstractCorsFilter
The prefix to a CORS request attribute.
HTTP_REQUEST_ATTRIBUTE_REQUEST_HEADERS - Static variable in class io.jans.server.filters.AbstractCorsFilter
Request headers sent as 'Access-Control-Request-Headers' header, for pre-flight request.
HTTP_REQUEST_ATTRIBUTE_REQUEST_TYPE - Static variable in class io.jans.server.filters.AbstractCorsFilter
Type of CORS request, of type AbstractCorsFilter.CORSRequestType.

I

init(FilterConfig) - Method in class io.jans.server.filters.AbstractCorsFilter
 
INVALID_CORS - io.jans.server.filters.AbstractCorsFilter.CORSRequestType
An invalid CORS request, i.e. it qualifies to be a CORS request, but fails to be a valid one.
io.jans.server.filters - package io.jans.server.filters
 
isAnyOriginAllowed(ServletRequest) - Method in class io.jans.server.filters.AbstractCorsFilter
Determines if any origin is allowed to make CORS request.
isSupportsCredentials() - Method in class io.jans.server.filters.AbstractCorsFilter
Determines is supports credentials is enabled.
isValidOrigin(String) - Static method in class io.jans.server.filters.AbstractCorsFilter
Checks if a given origin is valid or not.

J

join(Collection<String>, String) - Static method in class io.jans.server.filters.AbstractCorsFilter
Joins elements of Set into a string, where each element is separated by the provided separator.

N

NOT_CORS - io.jans.server.filters.AbstractCorsFilter.CORSRequestType
Not a CORS request, but a normal request.

P

PARAM_CLIENT_ALLOWED_ORIGINS - Static variable in class io.jans.server.filters.AbstractCorsFilter
 
PARAM_CORS_ALLOWED_HEADERS - Static variable in class io.jans.server.filters.AbstractCorsFilter
Key to retrieve allowed headers from FilterConfig.
PARAM_CORS_ALLOWED_METHODS - Static variable in class io.jans.server.filters.AbstractCorsFilter
Key to retrieve allowed methods from FilterConfig.
PARAM_CORS_ALLOWED_ORIGINS - Static variable in class io.jans.server.filters.AbstractCorsFilter
Key to retrieve allowed origins from FilterConfig.
PARAM_CORS_ENABLED - Static variable in class io.jans.server.filters.AbstractCorsFilter
Key to retrieve if filter enabled from FilterConfig.
PARAM_CORS_EXPOSED_HEADERS - Static variable in class io.jans.server.filters.AbstractCorsFilter
Key to retrieve exposed headers from FilterConfig.
PARAM_CORS_PREFLIGHT_MAXAGE - Static variable in class io.jans.server.filters.AbstractCorsFilter
Key to retrieve preflight max age from FilterConfig.
PARAM_CORS_REQUEST_DECORATE - Static variable in class io.jans.server.filters.AbstractCorsFilter
Key to determine if request should be decorated.
PARAM_CORS_SUPPORT_CREDENTIALS - Static variable in class io.jans.server.filters.AbstractCorsFilter
Key to retrieve support credentials from FilterConfig.
parseAndStore(String, String, String, String, String, String, String) - Method in class io.jans.server.filters.AbstractCorsFilter
Parses each param-value and populates configuration variables.
PRE_FLIGHT - io.jans.server.filters.AbstractCorsFilter.CORSRequestType
A pre-flight CORS request, to get meta information, before a non-simple HTTP request is sent.

R

REQUEST_HEADER_ACCESS_CONTROL_REQUEST_HEADERS - Static variable in class io.jans.server.filters.AbstractCorsFilter
The Access-Control-Request-Headers header indicates which headers will be used in the actual request as part of the preflight request.
REQUEST_HEADER_ACCESS_CONTROL_REQUEST_METHOD - Static variable in class io.jans.server.filters.AbstractCorsFilter
The Access-Control-Request-Method header indicates which method will be used in the actual request as part of the preflight request.
REQUEST_HEADER_ORIGIN - Static variable in class io.jans.server.filters.AbstractCorsFilter
The Origin header indicates where the cross-origin request or preflight request originates from.
RESPONSE_HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS - Static variable in class io.jans.server.filters.AbstractCorsFilter
The Access-Control-Allow-Credentials header indicates whether the response to request can be exposed when the omit credentials flag is unset.
RESPONSE_HEADER_ACCESS_CONTROL_ALLOW_HEADERS - Static variable in class io.jans.server.filters.AbstractCorsFilter
The Access-Control-Allow-Headers header indicates, as part of the response to a preflight request, which header field names can be used during the actual request.
RESPONSE_HEADER_ACCESS_CONTROL_ALLOW_METHODS - Static variable in class io.jans.server.filters.AbstractCorsFilter
The Access-Control-Allow-Methods header indicates, as part of the response to a preflight request, which methods can be used during the actual request.
RESPONSE_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN - Static variable in class io.jans.server.filters.AbstractCorsFilter
The Access-Control-Allow-Origin header indicates whether a resource can be shared based by returning the value of the Origin request header in the response.
RESPONSE_HEADER_ACCESS_CONTROL_EXPOSE_HEADERS - Static variable in class io.jans.server.filters.AbstractCorsFilter
The Access-Control-Expose-Headers header indicates which headers are safe to expose to the API of a CORS API specification
RESPONSE_HEADER_ACCESS_CONTROL_MAX_AGE - Static variable in class io.jans.server.filters.AbstractCorsFilter
The Access-Control-Max-Age header indicates how long the results of a preflight request can be cached in a preflight result cache.

S

setAllowedOrigins(Collection<String>) - Method in class io.jans.server.filters.AbstractCorsFilter
Sets the Set of allowed origins that are allowed to make requests.
setContextClientAllowedOrigins(ServletRequest, Collection<String>) - Method in class io.jans.server.filters.AbstractCorsFilter
 
SIMPLE - io.jans.server.filters.AbstractCorsFilter.CORSRequestType
A simple HTTP request, i.e. it shouldn't be pre-flighted.
SIMPLE_HTTP_METHODS - Static variable in class io.jans.server.filters.AbstractCorsFilter
Collection of Simple HTTP methods.
SIMPLE_HTTP_REQUEST_CONTENT_TYPE_VALUES - Static variable in class io.jans.server.filters.AbstractCorsFilter
Collection of Simple HTTP request headers.
SIMPLE_HTTP_REQUEST_HEADERS - Static variable in class io.jans.server.filters.AbstractCorsFilter
Collection of Simple HTTP request headers.
SIMPLE_HTTP_RESPONSE_HEADERS - Static variable in class io.jans.server.filters.AbstractCorsFilter
Collection of Simple HTTP request headers.

V

valueOf(String) - Static method in enum io.jans.server.filters.AbstractCorsFilter.CORSRequestType
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.jans.server.filters.AbstractCorsFilter.CORSRequestType
Returns an array containing the constants of this enum type, in the order they are declared.
A C D G H I J N P R S V 
All Classes All Packages