Uses of Interface
org.forgerock.http.Filter
-
Packages that use Filter Package Description org.forgerock.caf.authentication.framework This package defines the authentication framework classes for the authentication of messages via authentication contexts and modules.org.forgerock.http.filter CoreFilter
implementations.org.forgerock.http.filter.cors Support for CORS.org.forgerock.http.handler CoreHandler
implementations.org.forgerock.http.oauth2 This package provides APIs for OAuth 2.0 services implementations.org.forgerock.http.routing Provides routing functionality for HTTP requests.org.forgerock.json.resource Classes and interfaces for core types including connections, request handlers, resources, and their exceptions. -
-
Uses of Filter in org.forgerock.caf.authentication.framework
Classes in org.forgerock.caf.authentication.framework that implement Filter Modifier and Type Class Description class
AuthenticationFilter
A HTTPFilter
that will protect all downstream filters or handlers. -
Uses of Filter in org.forgerock.http.filter
Classes in org.forgerock.http.filter that implement Filter Modifier and Type Class Description class
CsrfFilter
A generic filter for preventing cross-site request forgery (CSRF) attacks when using cookie-based authentication.class
OptionsFilter
Filter
which handles OPTION HTTP requests to CREST resources.class
TransactionIdInboundFilter
This filter is responsible to create theTransactionIdContext
in the context's chain.class
TransactionIdOutboundFilter
This filter aims to create a sub-transaction's id and inserts that value as a header of the request.Methods in org.forgerock.http.filter that return Filter Modifier and Type Method Description static Filter
Filters. chainOf(List<Filter> filters)
Creates aFilter
which encapsulates the provided filters into a singleFilter
.static Filter
Filters. chainOf(Filter... filters)
Creates aFilter
which encapsulates the provided filters into a singleFilter
.static Filter
Filters. conditionalFilter(Filter delegate, BiPredicate<Context,Request> condition)
Create a Filter decorator that only delegates to the decorated filter if the supplied predicate returns true.static Filter
Filters. newAsyncSessionFilter(AsyncSessionManager sessionManager)
Creates a sessionFilter
that will use the providedAsyncSessionManager
to manage the users session.static Filter
Filters. newBearerTokenAuthFilter(SecretReference<GenericSecret> tokenReference)
Creates an authenticationFilter
that puts a Bearer Authorization header in the request.static Filter
Filters. newBearerTokenAuthFilterWithoutRetry(SecretReference<GenericSecret> tokenReference)
Creates an authenticationFilter
that puts a Bearer Authorization header in the request.static Filter
Filters. newDefaultCsrfFilter(String cookieName)
Creates a filter that protects against cross-site request forgery (CSRF) attacks when using cookies for authentication.static Filter
Filters. newHttpBasicAuthenticationFilter(String username, String password)
Deprecated.static Filter
Filters. newHttpBasicAuthenticationFilter(String username, String password, Charset charset)
Deprecated.static Filter
Filters. newHttpBasicAuthenticationFilter(String username, SecretReference<GenericSecret> password)
Creates an authenticationFilter
that put a Basic Authorization header in the request.static Filter
Filters. newHttpBasicAuthenticationFilter(String username, SecretReference<GenericSecret> password, Charset charset)
Creates an authenticationFilter
that put a Basic Authorization header in the request.static Filter
Filters. newOptionsFilter(String... allowedMethods)
Creates aFilter
which handles HTTP OPTIONS method requests.static Filter
Filters. newSessionFilter(SessionManager sessionManager)
Deprecated.static Filter
Filters. newUrlEncodedHttpBasicAuthFilter(String username, SecretReference<GenericSecret> password)
Creates an authenticationFilter
that put a Basic Authorization header in the request.static Filter
Filters. requestCopyFilter()
Methods in org.forgerock.http.filter with parameters of type Filter Modifier and Type Method Description static Filter
Filters. chainOf(Filter... filters)
Creates aFilter
which encapsulates the provided filters into a singleFilter
.static Filter
Filters. conditionalFilter(Filter delegate, BiPredicate<Context,Request> condition)
Create a Filter decorator that only delegates to the decorated filter if the supplied predicate returns true.Method parameters in org.forgerock.http.filter with type arguments of type Filter Modifier and Type Method Description static Filter
Filters. chainOf(List<Filter> filters)
Creates aFilter
which encapsulates the provided filters into a singleFilter
. -
Uses of Filter in org.forgerock.http.filter.cors
Classes in org.forgerock.http.filter.cors that implement Filter Modifier and Type Class Description class
CorsFilter
This filters implements the resource processing of the CORS protocol. -
Uses of Filter in org.forgerock.http.handler
Methods in org.forgerock.http.handler with parameters of type Filter Modifier and Type Method Description static DescribableHandler
Handlers. chainOf(Handler handler, Filter... filters)
Creates aHandler
which wraps the provided filters around the provided target handler.static DescribableHandler
Handlers. filtered(Handler handler, Filter filter)
Creates a "filtered handler" instance.Method parameters in org.forgerock.http.handler with type arguments of type Filter Modifier and Type Method Description static DescribableHandler
Handlers. chainOf(Handler handler, List<Filter> filters)
Creates aHandler
which wraps the provided filters around the provided target handler. -
Uses of Filter in org.forgerock.http.oauth2
Classes in org.forgerock.http.oauth2 that implement Filter Modifier and Type Class Description class
ResourceServerFilter
Validates aRequest
that contains an OAuth 2.0 access token. -
Uses of Filter in org.forgerock.http.routing
Classes in org.forgerock.http.routing that implement Filter Modifier and Type Class Description class
ResourceApiVersionRoutingFilter
API Version routing filter which creates aApiVersionRouterContext
which contains the default routing behaviour when the Accept-API-Version header is set on the request.Methods in org.forgerock.http.routing that return Filter Modifier and Type Method Description static Filter
RouteMatchers. resourceApiVersionContextFilter(ResourceApiVersionBehaviourManager behaviourManager)
Creates aFilter
which MUST be placed, in the route, before any API Version routing takes place. -
Uses of Filter in org.forgerock.json.resource
Classes in org.forgerock.json.resource that implement Filter Modifier and Type Class Description class
ResourceApiVersionRoutingFilter
API Version routing filter which creates aApiVersionRouterContext
which contains the default routing behaviour when the Accept-API-Version header is set on the request.
-