Uses of Interface
org.forgerock.http.Filter
Packages that use Filter
Package
Description
Core
Filter
implementations.Support for CORS.
Core
Handler
implementations.This package provides APIs for OAuth 2.0 services implementations.
Provides routing functionality for HTTP requests.
Classes to support OpenAPI API Descriptions using Swagger.
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
Identity Assertion plugins.
Kerberos Identity Assertion plugin.
Contains an abstract decorator dedicated to Filter and Handler.
Filters the requests and/or responses of HTTP.
Filters the HTTP request using a declarative configuration model based on a chain of predicates to validate.
This package contains the components used to implement circuit breaking.
Support for financial APIs (Open Banking, PSD2, Berlin Group, ...).
This package contains the components used to implement some JWT related filter.
This package contains the OAuth2 Token validation filter that acts as an OAuth 2 Resource Server.
OAuth 2.0 Client filter implementation.
Collection of heaplets supporting OAuth2 client authentication Filters.
JWT confirmation key support for access tokens.
This package contains the components used to implement a throttling rate support.
Handles HTTP requests by generating responses.
Handles the tech preview identity assertion processing.
Provides automated router capability that loads its configurations files (called routes) from a given directory.
Integration classes specifically for ForgeRock Access Management.
AM Session idle timeout tracking.
Contains every classes related to Ping's sideband API.
Contains provider interfaces needed by IG to work correctly.
Provides SQL and JDBC support.
Common tools used in policy service.
This package contains the UMA (User Managed Access) components used to support the Uma Resource Server role.
WebSocket proxy support.
-
Uses of Filter in org.forgerock.http.filter
Classes in org.forgerock.http.filter that implement FilterModifier and TypeClassDescriptionfinal class
A generic filter for preventing cross-site request forgery (CSRF) attacks when using cookie-based authentication.final class
Filter
which handles OPTION HTTP requests to CREST resources.class
This filter is responsible to create theTransactionIdContext
in the context's chain.class
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 FilterModifier and TypeMethodDescriptionstatic Filter
Creates aFilter
which encapsulates the provided filters into a singleFilter
.static Filter
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, SecretReference<GenericSecret> password) Deprecated, for removal: This API element is subject to removal in a future version.static Filter
Filters.newHttpBasicAuthenticationFilter
(String username, SecretReference<GenericSecret> password, Charset charset) Deprecated, for removal: This API element is subject to removal in a future version.static Filter
Filters.newHttpBasicAuthenticationFilter
(CredentialPair<GenericSecret> credentialPair) Creates an authenticationFilter
that puts a Basic Authorization header in the request.static Filter
Filters.newHttpBasicAuthenticationFilter
(CredentialPair<GenericSecret> credentialPair, Charset charset) Creates an authenticationFilter
that puts 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) Deprecated, for removal: This API element is subject to removal in a future version.static Filter
Filters.newUrlEncodedHttpBasicAuthFilter
(CredentialPair<GenericSecret> credentialPair) 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 FilterModifier and TypeMethodDescriptionstatic Filter
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 -
Uses of Filter in org.forgerock.http.filter.cors
Classes in org.forgerock.http.filter.cors that implement FilterModifier and TypeClassDescriptionclass
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 FilterModifier and TypeMethodDescriptionstatic DescribableHandler
Creates aHandler
which wraps the provided filters around the provided target handler.static DescribableHandler
Creates a "filtered handler" instance.Method parameters in org.forgerock.http.handler with type arguments of type Filter -
Uses of Filter in org.forgerock.http.oauth2
Classes in org.forgerock.http.oauth2 that implement FilterModifier and TypeClassDescriptionclass
Deprecated.since 26.2.class
AFilter
implementation to add the credentials to request body for authenticating as per the OAuth 2.0 Authorization Framework specification.class
AFilter
implementation to add the client credentials to request as signed then encrypted private key jwt as per the OpenID Connect Client Authentication specification.class
AFilter
implementation for adding the client credentials to request as signed private key jwt as per the OpenID Connect Client Authentication specification.class
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 FilterModifier and TypeClassDescriptionclass
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 FilterModifier and TypeMethodDescriptionstatic 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.http.swagger
Classes in org.forgerock.http.swagger that implement FilterModifier and TypeClassDescriptionclass
This filter looks for the query parameter {code _api} : if present then it returns the API description of the downstream handlers, otherwise the request is processed as expected. -
Uses of Filter in org.forgerock.json.resource
Classes in org.forgerock.json.resource that implement FilterModifier and TypeClassDescriptionclass
API Version routing filter which creates aApiVersionRouterContext
which contains the default routing behaviour when the Accept-API-Version header is set on the request. -
Uses of Filter in org.forgerock.openig.assertion.plugin
Methods in org.forgerock.openig.assertion.plugin that return FilterModifier and TypeMethodDescriptiondefault Filter
IdentityAssertionPlugin.preProcessingFilter()
Return aFilter
to deal with any pre-processing requirements such as challenging the user for credentials by returning aWWW-Authenticate
header.ScriptableIdentityAssertionPlugin.preProcessingFilter()
-
Uses of Filter in org.forgerock.openig.assertion.plugin.kerberos
Methods in org.forgerock.openig.assertion.plugin.kerberos that return Filter -
Uses of Filter in org.forgerock.openig.decoration.helper
Methods in org.forgerock.openig.decoration.helper with parameters of type FilterModifier and TypeMethodDescriptionprotected abstract DecorationHandle
AbstractHandlerAndFilterDecorator.decorateFilter
(Filter delegate, JsonValue decoratorConfig, Context context) Deprecated. -
Uses of Filter in org.forgerock.openig.filter
Classes in org.forgerock.openig.filter that implement FilterModifier and TypeClassDescriptionclass
Conditionally assigns values to expressions before and after the request is handled.class
This filter conditionally executes a delegate Filter given the result of a 'condition' function.class
AnConditionEnforcementFilter
makes sure that the handledRequest
verifies a condition.class
Suppresses, relays and manages cookies.class
TheDataPreservationFilter
supports preserving POSTed data from a request that triggers a login redirect.final class
This filter inserts a Date header into the response if it is not present.class
Extracts regular expression patterns from a message entity.class
Retrieves and exposes a record from a delimiter-separated file.final class
Rebase theUriRouterContext
's Original URI with a computed scheme, host name and port.class
TheFragmentFilter
supports URIs that contain fragments, keeping track of the fragment part when a request triggers a login redirect.class
Removes headers from and adds headers to a message.class
This filter aims to send some access audit events to the AuditService managed as a CREST handler.class
Performs authentication through the HTTP Basic authentication scheme.class
The JwtBuilderFilter collects data from template and puts the name-value pairs into a JWT structure.class
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.class
ALogAttachedExceptionFilter
prints attached exceptions to filtered responses.class
AMdcRouteIdFilter
aims to prepare the current thread with SLF4J MDC information about the current route.class
Collect request processing metrics.final class
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.class
A scriptable filter.class
This filter allows modification of response cookie attribute values for cookies found in the Set-Cookies header.final class
Split a target cookie when it is bigger than 4Kb (see RFC 6265) in smaller cookies.class
Creates a new request and send it down the next handler (effectively replacing the previous request).class
Conditionally diverts the request to another handler.class
Filter
supporting URL path rewriting.Methods in org.forgerock.openig.filter that return FilterConstructors in org.forgerock.openig.filter with parameters of type FilterModifierConstructorDescriptionConditionalFilter
(Filter delegate, boolean condition) Constructs aConditionalFilter
.ConditionalFilter
(Filter delegate, AsyncFunction<ContextAndRequest, Boolean, Exception> condition) Constructs aConditionalFilter
. -
Uses of Filter in org.forgerock.openig.filter.allow
Classes in org.forgerock.openig.filter.allow that implement FilterModifier and TypeClassDescriptionclass
This filter authorizes a request to continue processing if any of the declared rules is satisfied (logical or). -
Uses of Filter in org.forgerock.openig.filter.circuitbreaker
Classes in org.forgerock.openig.filter.circuitbreaker that implement FilterModifier and TypeClassDescriptionclass
Filter implementing the Circuit Breaker pattern to avoid cascading failures. -
Uses of Filter in org.forgerock.openig.filter.finance
Classes in org.forgerock.openig.filter.finance that implement FilterModifier and TypeClassDescriptionclass
AFapiInteractionIdFilter
is responsible to manage theFapiInteractionIdFilter.FAPI_INTERACTION_ID
header value. -
Uses of Filter in org.forgerock.openig.filter.jwt
Classes in org.forgerock.openig.filter.jwt that implement FilterModifier and TypeClassDescriptionclass
AJwtValidationFilter
validates the given JWT according to the provided configuration. -
Uses of Filter in org.forgerock.openig.filter.oauth2
Classes in org.forgerock.openig.filter.oauth2 that implement Filter -
Uses of Filter in org.forgerock.openig.filter.oauth2.client
Classes in org.forgerock.openig.filter.oauth2.client that implement FilterModifier and TypeClassDescriptionclass
The client registration filter is the way to dynamically register an OpenID Connect Relying Party with the End-User's OpenID Provider.class
In order for an OpenID Connect Relying Party to utilize OpenID Connect services for an End-User, the RP needs to know where the OpenID Provider is.class
Creates and initializes aFilter
supporting the transformation of a request - e.g.final class
A filter which is responsible for authenticating the end-user using OAuth 2.0 delegated authorization. -
Uses of Filter in org.forgerock.openig.filter.oauth2.client.authentication
Methods in org.forgerock.openig.filter.oauth2.client.authentication that return FilterModifier and TypeMethodDescriptionprotected Filter
ClientSecretBasicAuthenticationFilterHeaplet.createFilter
(String clientId, SecretReference<GenericSecret> clientSecretRef) protected Filter
ClientSecretPostAuthenticationFilterHeaplet.createFilter
(String clientId, SecretReference<GenericSecret> clientSecretRef) -
Uses of Filter in org.forgerock.openig.filter.oauth2.cnf
Classes in org.forgerock.openig.filter.oauth2.cnf that implement FilterModifier and TypeClassDescriptionclass
A filter that evaluates a required EL expression to establish the client certificate from both context and request, then calculates the thumbprint for that certificate (sha-256 hash and base64 url encoding) before storing it in the attributes context for later retrieval in downstream components. -
Uses of Filter in org.forgerock.openig.filter.throttling
Classes in org.forgerock.openig.filter.throttling that implement FilterModifier and TypeClassDescriptionclass
This filter applies a rate limitation to incoming requests : over the limit requests will be rejected with a 429 (Too Many Requests) response, others will pass through. -
Uses of Filter in org.forgerock.openig.handler
Methods in org.forgerock.openig.handler that return types with arguments of type FilterModifier and TypeMethodDescriptionHttpClientHandlerHeaplet.circuitBreakerFilter
(JsonValue config) Create a circuit breaker filter from configurations.Returns a list ofFilter
that will be executed on every request before theHttpClientHandler
.HttpClientHandlerHeaplet.retryFilter
(JsonValue config, org.forgerock.monitoring.api.instrument.MeterRegistry meterRegistry) Returns aRetryFilter
if the provided configuration enabled its usage, or empty if not. -
Uses of Filter in org.forgerock.openig.handler.assertion
Methods in org.forgerock.openig.handler.assertion that return FilterModifier and TypeMethodDescriptiondefault Filter
IdentityAssertionPluginTechPreview.preProcessingFilter()
Return aFilter
to deal with any pre-processing requirements.ScriptableIdentityAssertionPluginTechPreview.preProcessingFilter()
-
Uses of Filter in org.forgerock.openig.handler.router
Classes in org.forgerock.openig.handler.router that implement FilterModifier and TypeClassDescriptionclass
This class is used to filter null responses. -
Uses of Filter in org.forgerock.openig.openam
Classes in org.forgerock.openig.openam that implement FilterModifier and TypeClassDescriptionclass
AbstractFilter
base class providing policy condition advice support.class
TheCapturedUserPasswordFilter
is responsible for retrieving the user password from AM and to decrypt it.class
This filter handles any condition advices returned from AM during a policy evaluation, which one will depend on the policy.class
This filter verifies the presence of a JWT authentication token in the configured cookie name: If the JWT is present then its validity is checked and the request is forwarded to the next handler. If the JWT is not present, then the user-agent is redirected to Access Management via its OAuth2 authorization endpoint, to obtain user authentication.class
This filter requests policy decisions from Access Management which evaluates the original URI based on the context and the policies configured, and according to the decisions, allows or denies the current request.class
This filter requests user session info from Access Management and stores it on the context for later use.class
This filter verifies the presence of a SSOToken in the given cookie name.class
ATokenTransformationFilter
is responsible for transforming a token issued by Access Management into a token of another type.class
This filter requests user profile attributes from Access Management and stores them in the context for later use. -
Uses of Filter in org.forgerock.openig.openam.session
Classes in org.forgerock.openig.openam.session that implement FilterModifier and TypeClassDescriptionclass
This filter will track the AM sessions (stateless or stateful) and will revoke them if their idle timeout goes over a defined limit. -
Uses of Filter in org.forgerock.openig.ping.sideband
Classes in org.forgerock.openig.ping.sideband that implement FilterModifier and TypeClassDescriptionclass
Sends the requests and responses to the Ping Sideband API, then process its decisions and accept/reject/rewrite requests and responses. -
Uses of Filter in org.forgerock.openig.providers
Methods in org.forgerock.openig.providers that return FilterModifier and TypeMethodDescriptionWebSocketProxyFilterProvider.newWebSocketHandshakeDetectorFilter()
Create a newFilter
to detect WebSocket upgrade.WebSocketProxyFilterProvider.newWebSocketProxyFilter
(Options options) Create a newFilter
to manage WebSocket upgrade requests, and manage subsequent communication. -
Uses of Filter in org.forgerock.openig.sql
Classes in org.forgerock.openig.sql that implement FilterModifier and TypeClassDescriptionclass
Executes a SQL query through a prepared statement and exposes its first result. -
Uses of Filter in org.forgerock.openig.tools
Classes in org.forgerock.openig.tools that implement FilterModifier and TypeClassDescriptionclass
This filter overrides the protocol version in Accept-Api-Version header.class
Provides an OpenAM SSO Token in the given header name for downstream components.class
This filter is responsible to check that an @InternalSsoTokenContext
was defined in the context's chain and to propagate the SSO token (potentially not valid) into the request as a header.class
AnInvalidCallerTokenDetectionFilter
provides a mechanism that allows IG to detect an incorrect response and trigger a token refresh before making the request again with the updated token. -
Uses of Filter in org.forgerock.openig.uma
Classes in org.forgerock.openig.uma that implement FilterModifier and TypeClassDescriptionclass
AnUmaResourceServerFilter
implements a PEP (Policy Enforcement Point) and is responsible to ensure the incoming requests (from requesting parties) all have a valid RPT (Request Party Token) with the required set of scopes. -
Uses of Filter in org.forgerock.openig.websocket
Methods in org.forgerock.openig.websocket that return FilterModifier and TypeMethodDescriptionWebSocketProxyFilterProviderImpl.newWebSocketHandshakeDetectorFilter()
WebSocketProxyFilterProviderImpl.newWebSocketProxyFilter
(Options options)
Filters.newHttpBasicAuthenticationFilter(CredentialPair)
instead