Package org.forgerock.openig.filter
package org.forgerock.openig.filter
Filters the requests and/or responses of HTTP.
-
ClassDescriptionConditionally assigns values to expressions before and after the request is handled.Creates and initializes an assignment filter in a heap environment.Used by the
FragmentFilter
and theDataPreservationFilter
to know if a filter has attempted an impending IG redirection.Allow to build a chain of filters as one filter.A chain of zero or more filters and one handler.Provide the HTTP Filter's ChainTypeDefinition
.This filter conditionally executes a delegate Filter given the result of a 'condition' function.Creates aConditionalFilter
into aHeap
environment.AnConditionEnforcementFilter
makes sure that the handledRequest
verifies a condition.Creates and initializes an ConditionEnforcementFilter in a heap environment.Suppresses, relays and manages cookies.Action to be performed for a cookie.Creates and initializes a cookie filter in a heap environment.ACorsFilterHeaplet
configures aCorsFilter
in a heap environment.Creates and initializes aCsrfFilter
supporting the injection and validation of an anti-CSRF token in the request header.TheDataPreservationFilter
supports preserving POSTed data from a request that triggers a login redirect.Create aDataPreservationFilter
heap object.ATypeDefinitionProvider
forDataPreservationFilter
.This filter inserts a Date header into the response if it is not present.Creates and initializes a DateHeaderFilter in a heap environment.Extracts regular expression patterns from a message entity.Creates and initializes an entity extract handler in a heap environment.Retrieves and exposes a record from a delimiter-separated file.Creates and initializes a separated values file attribute provider in a heap environment.Rebase theUriRouterContext
's Original URI with a computed scheme, host name and port.Creates and initializes anForwardedRequestFilter
in a heap environment.TheFragmentFilter
supports URIs that contain fragments, keeping track of the fragment part when a request triggers a login redirect.Creates and initialises aFragmentFilter
in a heap environment.Removes headers from and adds headers to a message.Creates and initializes a header filter in a heap environment.ProvideHeaderFilter
'sTypeDefinition
.This filter aims to send some access audit events to the AuditService managed as a CREST handler.Creates and initializes aFilter
supporting the injection of a Basic Authorization header in the request for the configured credentials.Performs authentication through the HTTP Basic authentication scheme.Creates and initializes an HTTP basic authentication filter in a heap environment.Used by theJwtBuilderFilter
to make the JWT available in the context.The JwtBuilderFilter collects data from template and puts the name-value pairs into a JWT structure.Creates and initializes a JwtBuilderFilter in a heap environment.Rewrites Location headers on responses that generate a redirect that would take the user directly to the application being proxied rather than taking the user through the Identity Gateway.Creates and initializes a LocationHeaderFilter in a heap environment.ALogAttachedExceptionFilter
prints attached exceptions to filtered responses.AMdcRouteIdFilter
aims to prepare the current thread with SLF4J MDC information about the current route.Collect request processing metrics.Supports password replay feature in a composite filter.ARetryFilter
is responsible for re-executing the incoming request should it fail with a runtime exception or if an optional condition expression evaluates to true.ARetryFilter
builder.A scriptable filter.Creates and initializes a scriptable filter in a heap environment.This filter allows modification of response cookie attribute values for cookies found in the Set-Cookies header.Creates and initializes a SetCookieUpdateFilter in a heap environment.Split a target cookie when it is bigger than 4Kb (see RFC 6265) in smaller cookies.Creates a new request and send it down the next handler (effectively replacing the previous request).Creates and initializes a request filter in a heap environment.Conditionally diverts the request to another handler.Creates and initializes a switch filter in a heap environment.Filter
supporting URL path rewriting.Create aUriPathRewriteFilter
in a heap environment.