Uses of Interface
org.forgerock.http.Handler
Package
Description
This package defines the authentication framework classes for the authentication of messages
via authentication contexts and modules.
Models and manages elements of the Hypertext Transfer Protocol.
Core
Filter
implementations.Support for CORS.
Core
Handler
implementations.This package provides APIs for OAuth 2.0 services implementations.
This package defines OpenAM specific logic needed to retrieve an
AccessTokenInfo
.Provides routing functionality for HTTP requests.
Forgerock Apple Client implementation.
Forgerock Facebook Client Implementation.
Forgerock LinkedIn Client Implementation.
OAuth 2.0 ForgeRock Client Implementation.
OpenID Connect ForgeRock Client Implementation.
A secret store implementation that can retrieve keys from a Google Cloud Platform Key Management Service.
A Secrets API backend that can obtain OAuth 2 access tokens from a token endpoint, along with a collection of
grant type handlers.
Secrets backend that reads secrets from a remote Hashicorp Vault server.
-
Uses of Handler in org.forgerock.caf.authentication.framework
-
Uses of Handler in org.forgerock.http
Modifier and TypeMethodDescriptionHttpApplication.start()
Gets the rootHandler
that will handle all HTTP requests.Modifier and TypeMethodDescriptionstatic DescribedHttpApplication
Applications.describedHttpApplication
(Handler handler, Factory<Buffer> storage, ApiProducer<io.swagger.models.Swagger> apiProducer) Create a simpleDescribedHttpApplication
that just returns the provided arguments from the appropriate methods.Filters the request and/or response of an exchange.static HttpApplication
Applications.simpleHttpApplication
(Handler handler, Factory<Buffer> storage) Create a simpleHttpApplication
that just returns the provided arguments from the appropriate methods.ModifierConstructorDescriptionCreates a newClient
which will route HTTP requests to the providedHandler
using aRootContext
allocated during construction when none is provided. -
Uses of Handler in org.forgerock.http.filter
Modifier and TypeMethodDescriptionCsrfFilter.Builder.failureHandler
(Handler failureHandler) Add a handler which will be responsible of creating a response in case of missing/wrong CSRF token.Handles all OPTION requests to CREST resources, all other request methods are handled by theHandler
. -
Uses of Handler in org.forgerock.http.filter.cors
Modifier and TypeMethodDescriptionModifierConstructorDescriptionCorsFilter
(CorsPolicyProvider provider, Handler failureHandler) Constructs a new CORS filter using the givenCorsPolicyProvider
andfailureHandler
. -
Uses of Handler in org.forgerock.http.handler
Modifier and TypeInterfaceDescriptioninterface
A handler that both handlesRequest
s, and also supports querying for API Descriptors.Modifier and TypeClassDescriptionfinal class
An HTTP client for sending requests to remote servers.Modifier and TypeMethodDescriptionstatic Handler
Handlers.forbiddenHandler()
A common HTTP FrameworkHandler
responding 403 Forbidden.static Handler
Handlers.internalServerErrorHandler
(Exception cause) A common HTTP FrameworkHandler
responding 500 Internal Server Error.Modifier and TypeMethodDescriptionstatic DescribableHandler
Handlers.asDescribableHandler
(Handler handler) Adapts aHandler
to aDescribableHandler
without adding support for API Descriptions if it is not already implemented.static DescribableHandler
Creates aHandler
which wraps the provided filters around the provided target handler.static DescribableHandler
Creates aHandler
which wraps the provided filters around the provided target handler.static DescribableHandler
Creates a "filtered handler" instance. -
Uses of Handler in org.forgerock.http.oauth2
Modifier and TypeMethodDescriptionDeprecated. -
Uses of Handler in org.forgerock.http.oauth2.resolver
ModifierConstructorDescriptionOpenAmAccessTokenResolver
(Handler client, Clock clock, String tokenInfoEndpoint) Deprecated.Creates a newOpenAmAccessTokenResolver
configured to access the given /oauth2/tokeninfo OpenAm endpoint.TokenIntrospectionAccessTokenResolver
(Handler client, URI introspectionEndpointUri) Creates a newTokenIntrospectionAccessTokenResolver
. -
Uses of Handler in org.forgerock.http.routing
Modifier and TypeClassDescriptionfinal class
A router which routes requests based on route matchers.Modifier and TypeMethodDescriptionprotected Pair<RouteMatcher<Request>,
Handler> Router.getSelfApiHandler()
-
Uses of Handler in org.forgerock.oauth.clients.apple
ModifierConstructorDescriptionAppleClient
(Handler httpHandler, AppleClientConfiguration config, Clock clock, SecureRandom random) Constructs aAppleClient
.AppleClient
(Handler httpHandler, AppleClientConfiguration config, Clock clock, SecureRandom random, OpenIdResolverService resolverService, OpenIdResolverServiceConfigurator serviceConfigurator) Constructs aAppleClient
.AppleClient
(Handler httpHandler, OpenIDConnectClientConfiguration config, Clock clock, SecureRandom random, OpenIdResolverService resolverService, OpenIdResolverServiceConfigurator serviceConfigurator) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Handler in org.forgerock.oauth.clients.facebook
ModifierConstructorDescriptionFacebookClient
(Handler httpHandler, FacebookClientConfiguration config, Clock clock, SecureRandom random) Constructs an FacebookClient using a providedHandler
andFacebookClientConfiguration
. -
Uses of Handler in org.forgerock.oauth.clients.linkedin
ModifierConstructorDescriptionLinkedInClient
(Handler httpHandler, LinkedInClientConfiguration config, Clock clock, SecureRandom random) Constructs aLinkedInClient
. -
Uses of Handler in org.forgerock.oauth.clients.oauth2
Modifier and TypeFieldDescriptionprotected final Handler
OAuth2Client.httpHandler
Handler
to be used to make http requests.Modifier and TypeMethodDescriptionprotected Handler
OAuth2Client.getTokenEndpointHandler()
The token endpoint handler which wraps the client authentication filter which is capable of adding the client credentials to the request.ModifierConstructorDescriptionOAuth2Client
(Handler httpHandler, T config, Clock clock, SecureRandom random) Constructs an OAuth2Client using a providedHandler
andOAuthClientConfiguration
. -
Uses of Handler in org.forgerock.oauth.clients.oidc
ModifierConstructorDescriptionOpenIDConnectClient
(Handler httpHandler, OpenIDConnectClientConfiguration config, Clock clock, SecureRandom random) Constructs an OpenIDConnectClient using a providedHandler
andOpenIDConnectClientConfiguration
.OpenIDConnectClient
(Handler httpHandler, OpenIDConnectClientConfiguration config, Clock clock, SecureRandom random, OpenIdResolverService resolverService, OpenIdResolverServiceConfigurator serviceConfigurator) Constructs an OpenIDConnectClient using a providedHandler
,OpenIDConnectClientConfiguration
,OpenIdResolverService
andOpenIdResolverServiceConfigurator
. -
Uses of Handler in org.forgerock.secrets.gcpkms
ModifierConstructorDescriptionChfHttpTransport
(Handler httpHandler, Supplier<Context> context) Initialises the transport with the given CHF client handler and context supplier. -
Uses of Handler in org.forgerock.secrets.oauth2
Modifier and TypeMethodDescriptionAccessTokenSecretStore.Builder.withHandler
(Handler handler) Configures theHandler
to use for sending requests to the token endpoint. -
Uses of Handler in org.forgerock.secrets.vault
Modifier and TypeMethodDescriptionVaultConfig.getHttpClient()
Returns the CHF HTTP client handler to use for connections to Vault.Modifier and TypeMethodDescriptionstatic VaultConfig.Builder
Returns a newVaultConfig.Builder
to construct the configuration.
AppleClient(Handler, AppleClientConfiguration, Clock, SecureRandom, OpenIdResolverService, OpenIdResolverServiceConfigurator)
instead.