Package | Description |
---|---|
org.forgerock.http |
Models and manages elements of the Hypertext Transfer Protocol.
|
org.forgerock.http.filter |
Core
Filter implementations. |
org.forgerock.http.filter.throttling |
This package contains the components used to implement a throttling rate support.
|
org.forgerock.http.handler |
Core
Handler implementations. |
org.forgerock.http.oauth2 |
This package provides APIs for OAuth 2.0 services implementations.
|
org.forgerock.http.oauth2.resolver |
This package defines OpenAM specific logic needed to retrieve an
AccessTokenInfo . |
org.forgerock.http.routing |
Provides routing functionality for HTTP requests.
|
org.forgerock.http.swagger |
Classes to support OpenAPI API Descriptions using Swagger.
|
org.forgerock.json.resource.http |
JSON resource Commons HTTP Framework integration.
|
org.forgerock.monitoring.http |
Common utility classes for monitoring.
|
org.forgerock.openig.decoration.baseuri |
Contains a decorator which overrides the existing request URI, making requests relative to
a new base URI.
|
org.forgerock.openig.decoration.capture |
Capture decoration classes that prints filters and handlers input and output messages.
|
org.forgerock.openig.decoration.helper |
Contains an abstract decorator dedicated to Filter and Handler.
|
org.forgerock.openig.decoration.timer |
Contains a decorator that log time elapsed in a Filter or a Handler.
|
org.forgerock.openig.doc |
Files for the Sample Application used in the product documentation.
|
org.forgerock.openig.filter |
Filters the requests and/or responses of HTTP.
|
org.forgerock.openig.filter.oauth2.client |
OAuth 2.0 Client filter implementation.
|
org.forgerock.openig.handler |
Handles HTTP requests by generating responses.
|
org.forgerock.openig.handler.resources |
Contains components and APIs used to serve static resources.
|
org.forgerock.openig.handler.router |
Provides automated router capability that loads its configurations files (called routes) from a given directory.
|
org.forgerock.openig.handler.saml |
Identity Gateway SAML support.
|
org.forgerock.openig.heap |
Manages collections or "heaps" of associated objects, initialized from
declarative configuration artifacts.
|
org.forgerock.openig.http |
Integrates with the ForgeRock HTTP Framework.
|
org.forgerock.openig.openam |
Integration classes specifically for ForgeRock Access Management.
|
org.forgerock.openig.script |
Scripting support.
|
org.forgerock.openig.tools |
Common tools used in policy service.
|
org.forgerock.openig.tools.am |
Access Management Server.
|
org.forgerock.openig.tools.authentication.chf |
HTTP-based authentication service.
|
org.forgerock.openig.uma |
This package contains the UMA (User Managed Access) components used to support the Uma Resource Server role.
|
org.forgerock.openig.websocket |
WebSocket proxy support.
|
Modifier and Type | Method and Description |
---|---|
Handler |
HttpApplication.start()
Gets the root
Handler that will handle all HTTP requests. |
Modifier and Type | Method and Description |
---|---|
static DescribedHttpApplication |
Applications.describedHttpApplication(Handler handler,
Factory<Buffer> storage,
ApiProducer<io.swagger.models.Swagger> apiProducer)
Create a simple
DescribedHttpApplication that just returns the provided arguments from the appropriate
methods. |
Promise<Response,NeverThrowsException> |
Filter.filter(Context context,
Request request,
Handler next)
Filters the request and/or response of an exchange.
|
static HttpApplication |
Applications.simpleHttpApplication(Handler handler,
Factory<Buffer> storage)
Create a simple
HttpApplication that just returns the provided arguments from the appropriate methods. |
Constructor and Description |
---|
Client(Handler handler)
Creates a new
Client which will route HTTP requests to the
provided Handler using a RootContext allocated during
construction when none is provided. |
Client(Handler handler,
Context defaultContext)
|
Modifier and Type | Method and Description |
---|---|
CsrfFilter.Builder |
CsrfFilter.Builder.failureHandler(Handler failureHandler)
Add a handler which will be responsible of creating a response in case of missing/wrong CSRF token.
|
Promise<Response,NeverThrowsException> |
ConditionalFilter.filter(Context context,
Request request,
Handler next) |
Promise<Response,NeverThrowsException> |
TransactionIdOutboundFilter.filter(Context context,
Request request,
Handler next) |
Promise<Response,NeverThrowsException> |
TransactionIdInboundFilter.filter(Context context,
Request request,
Handler next) |
Promise<Response,NeverThrowsException> |
OptionsFilter.filter(Context context,
Request request,
Handler next)
Handles all OPTION requests to CREST resources, all other request methods are handled by the
Handler . |
Promise<Response,NeverThrowsException> |
CsrfFilter.filter(Context context,
Request request,
Handler next) |
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
ThrottlingFilter.filter(Context context,
Request request,
Handler next) |
Modifier and Type | Interface and Description |
---|---|
interface |
DescribableHandler
A handler that both handles
Request s, and also supports querying for API Descriptors. |
Modifier and Type | Class and Description |
---|---|
class |
HttpClientHandler
An HTTP client for sending requests to remote servers.
|
Modifier and Type | Method and Description |
---|---|
static Handler |
Handlers.forbiddenHandler()
A common HTTP Framework
Handler responding 403 Forbidden. |
static Handler |
Handlers.internalServerErrorHandler(Exception cause)
A common HTTP Framework
Handler responding 500 Internal Server Error. |
Modifier and Type | Method and Description |
---|---|
static DescribableHandler |
Handlers.asDescribableHandler(Handler handler)
Adapts a
Handler to a DescribableHandler without adding support for API Descriptions if it is
not already implemented. |
static DescribableHandler |
Handlers.chainOf(Handler handler,
Filter... filters)
Creates a
Handler which wraps the provided filters
around the provided target handler. |
static DescribableHandler |
Handlers.chainOf(Handler handler,
List<Filter> filters)
Creates a
Handler which wraps the provided filters
around the provided target handler. |
static DescribableHandler |
Handlers.filtered(Handler handler,
Filter filter)
Creates a "filtered handler" instance.
|
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
ResourceServerFilter.filter(Context context,
Request request,
Handler next) |
Constructor and Description |
---|
OpenAmAccessTokenResolver(Handler client,
Clock clock,
String tokenInfoEndpoint)
Creates a new
OpenAmAccessTokenResolver configured to access the given /oauth2/tokeninfo
OpenAm endpoint. |
TokenIntrospectionAccessTokenResolver(Handler client,
URI introspectionEndpointUri)
Creates a new
TokenIntrospectionAccessTokenResolver . |
Modifier and Type | Class and Description |
---|---|
class |
Router
A router which routes requests based on route matchers.
|
Modifier and Type | Method and Description |
---|---|
protected Pair<RouteMatcher<Request>,Handler> |
Router.getSelfApiHandler() |
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
ResourceApiVersionRoutingFilter.filter(Context context,
Request request,
Handler next) |
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
OpenApiRequestFilter.filter(Context context,
Request request,
Handler next) |
Modifier and Type | Method and Description |
---|---|
static Handler |
CrestHttp.newHttpHandler(ConnectionFactory connectionFactory)
Deprecated.
Use
CrestHttp.newHttpHandler(CrestApplication) instead. |
static Handler |
CrestHttp.newHttpHandler(ConnectionFactory connectionFactory,
Context parentContext)
Deprecated.
Use
CrestHttp.newHttpHandler(CrestApplication) instead. |
static Handler |
CrestHttp.newHttpHandler(ConnectionFactory connectionFactory,
HttpContextFactory contextFactory)
Deprecated.
Use
CrestHttp.newHttpHandler(CrestApplication) instead. |
static Handler |
CrestHttp.newHttpHandler(CrestApplication application)
Creates a new JSON resource HTTP handler with the provided CREST request handler.
|
static Handler |
CrestHttp.newHttpHandler(CrestApplication application,
Context context)
Creates a new JSON resource HTTP handler with the provided CREST request handler.
|
static Handler |
CrestHttp.newHttpHandler(CrestApplication application,
HttpContextFactory factory)
Creates a new JSON resource HTTP handler with the provided CREST request handler.
|
static Handler |
CrestHttp.newHttpHandler(RequestHandler handler)
Deprecated.
Use
CrestHttp.newHttpHandler(CrestApplication) instead. |
Modifier and Type | Method and Description |
---|---|
static ConnectionFactory |
CrestHttp.newConnectionFactory(Handler handler,
URI uri)
Creates a new
ConnectionFactory that map back and forth JSON resource objects to CHF objects. |
static RequestHandler |
CrestHttp.newRequestHandler(Handler handler,
URI uri)
Creates a new
RequestHandler that map back and forth JSON resource objects to CHF objects. |
Modifier and Type | Class and Description |
---|---|
class |
PrometheusHandler
An HTTP
Handler from which Prometheus can scrap monitoring information. |
Modifier and Type | Method and Description |
---|---|
protected DecorationHandle |
BaseUriDecorator.decorateHandler(Handler delegate,
JsonValue decoratorConfig,
Context context) |
Modifier and Type | Method and Description |
---|---|
protected DecorationHandle |
CaptureDecorator.decorateHandler(Handler delegate,
JsonValue decoratorConfig,
Context context) |
Modifier and Type | Method and Description |
---|---|
protected abstract DecorationHandle |
AbstractHandlerAndFilterDecorator.decorateHandler(Handler delegate,
JsonValue decoratorConfig,
Context context)
|
Modifier and Type | Method and Description |
---|---|
protected DecorationHandle |
TimerDecorator.decorateHandler(Handler delegate,
JsonValue decoratorConfig,
Context context) |
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
SampleFilter.filter(Context context,
Request request,
Handler next)
Set a header in the incoming request and in the outgoing response.
|
Constructor and Description |
---|
ConditionEnforcementFilter(Expression<Boolean> condition,
Handler failureHandler)
Creates a new
ConditionEnforcementFilter . |
HttpBasicAuthFilter(Expression<String> username,
Expression<String> password,
Handler failureHandler)
Builds a
HttpBasicAuthFilter with required expressions and error handler. |
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
OAuth2ClientFilter.filter(Context context,
Request request,
Handler next) |
Promise<Response,NeverThrowsException> |
DiscoveryFilter.filter(Context context,
Request request,
Handler next) |
Promise<Response,NeverThrowsException> |
ClientRegistrationFilter.filter(Context context,
Request request,
Handler next) |
Promise<Issuer,DiscoveryException> |
IssuerRepository.findOrCreateFromWellKnownUri(String issuerName,
URI wellKnownUri,
List<Pattern> supportedDomains,
Handler handler)
Tries to find an already registered Issuer named issuerName.
|
OAuth2ClientFilter |
OAuth2ClientFilter.setFailureHandler(Handler handler)
Sets the handler which will be invoked when authentication fails.
|
OAuth2ClientFilter |
OAuth2ClientFilter.setLoginHandler(Handler handler)
Sets the handler which will be invoked when the user needs to
authenticate.
|
Constructor and Description |
---|
ClientRegistration(String clientId,
String name,
List<String> scopes,
Issuer issuer,
Handler registrationHandler,
org.forgerock.openig.filter.oauth2.client.ClientAuthentication clientAuthentication)
Creates a Client Registration.
|
ClientRegistrationFilter(org.forgerock.openig.filter.oauth2.client.ClientRegistrationRepository repository,
Handler registrationHandler,
JsonValue config,
Clock clock)
Creates a new dynamic registration filter.
|
IssuerRepository(Handler defaultIssuerHandler)
Creates an IssuerRepository.
|
OAuth2ClientFilter(org.forgerock.openig.filter.oauth2.client.ClientRegistrationRepository registrations,
PerItemEvictionStrategyCache<String,Promise<Map<String,Object>,OAuth2ErrorException>> userInfoCache,
org.forgerock.openig.filter.oauth2.client.UriValidationService validationService,
Clock clock,
Handler discoveryAndDynamicRegistrationChain,
Expression<String> clientEndpoint)
Constructs an
OAuth2ClientFilter . |
Modifier and Type | Class and Description |
---|---|
class |
ClientHandler
Submits requests to remote servers.
|
class |
DesKeyGenHandler
Creates a static response with a generated DES key.
|
class |
DispatchHandler
Dispatches to one of a list of handlers.
|
class |
ReverseProxyHandler
A
ReverseProxyHandler is a ClientHandler that is also responsible to turn RuntimeException
into Status.BAD_GATEWAY response, as expected on the normal flow of request reaching the application
when the proxy fails to connect to the backend application. |
class |
ScriptableHandler
A scriptable handler.
|
class |
SequenceHandler
Processes a request through a sequence of handlers.
|
class |
StaticResponseHandler
Creates a static HTTP response.
|
class |
WelcomeHandler
Creates a static response containing a simple HTML welcome page.
|
Modifier and Type | Field and Description |
---|---|
static Handler |
Handlers.FORBIDDEN
|
static Handler |
Handlers.NO_CONTENT
|
Modifier and Type | Method and Description |
---|---|
DispatchHandler |
DispatchHandler.addBinding(Expression<Boolean> condition,
Handler handler,
Expression<String> baseURI)
Binds an expression to the current handler to dispatch to.
|
SequenceHandler |
SequenceHandler.addBinding(Handler handler,
Expression<Boolean> postcondition)
Binds sequenced handlers with sequence processing postconditions.
|
DispatchHandler |
DispatchHandler.addUnconditionalBinding(Handler handler,
Expression<String> baseURI)
Adds an unconditional bindings to the handler.
|
Constructor and Description |
---|
ClientHandler(Handler delegate)
Creates a new client handler.
|
Modifier and Type | Class and Description |
---|---|
class |
ResourceHandler
A
ResourceHandler is a handler that serves static content (content of a directory, or a zip). |
Modifier and Type | Class and Description |
---|---|
class |
RouterHandler
Auto-configured
DispatchHandler . |
Modifier and Type | Class and Description |
---|---|
class |
SamlFederationHandler
The SAML federation handler.
|
Modifier and Type | Method and Description |
---|---|
Handler |
HeapImpl.getHandler()
Returns the
Handler object referenced by the handler top-level attribute. |
Modifier and Type | Method and Description |
---|---|
Handler |
GatewayHttpApplication.start() |
Handler |
AdminHttpApplication.start() |
Modifier and Type | Method and Description |
---|---|
EndpointRegistry.Registration |
EndpointRegistry.register(String name,
Handler handler)
Registers a new endpoint under the given
name . |
Modifier and Type | Method and Description |
---|---|
protected Promise<Response,NeverThrowsException> |
CdSsoConditionAdviceFilter.doRedirect(Context context,
Request request,
Handler next,
List<org.forgerock.openig.openam.AbstractConditionAdviceFilter.Advice> advices) |
protected abstract Promise<Response,NeverThrowsException> |
AbstractConditionAdviceFilter.doRedirect(Context context,
Request request,
Handler next,
List<org.forgerock.openig.openam.AbstractConditionAdviceFilter.Advice> advices)
Handle redirect to the
instance to verify the required advices. |
Promise<Response,NeverThrowsException> |
UserProfileFilter.filter(Context context,
Request request,
Handler next) |
Promise<Response,NeverThrowsException> |
TokenTransformationFilter.filter(Context context,
Request request,
Handler next) |
Promise<Response,NeverThrowsException> |
SingleSignOnFilter.filter(Context context,
Request request,
Handler next) |
Promise<Response,NeverThrowsException> |
SessionInfoFilter.filter(Context context,
Request request,
Handler next) |
Promise<Response,NeverThrowsException> |
PolicyEnforcementFilter.filter(Context context,
Request request,
Handler next) |
Promise<Response,NeverThrowsException> |
DeprecatedUserProfileFilter.filter(Context context,
Request request,
Handler next)
Deprecated.
|
Promise<Response,NeverThrowsException> |
CrossDomainSingleSignOnFilter.filter(Context context,
Request request,
Handler next) |
Promise<Response,NeverThrowsException> |
CapturedUserPasswordFilter.filter(Context context,
Request request,
Handler next) |
Promise<Response,NeverThrowsException> |
AbstractConditionAdviceFilter.filter(Context context,
Request request,
Handler next) |
Constructor and Description |
---|
CrossDomainSingleSignOnFilter(AmService amService,
String clientId,
String redirectEndpoint,
CookieBuilder cookieBuilder,
Supplier<String> idSupplier,
Clock clock,
Handler failureHandler)
Creates a new CrossDomainSingleSignOnFilter.
|
PolicyEnforcementFilter(RequestHandler requestHandler,
Handler failureHandler,
SessionService sessionService,
ResourceUriProvider resourceUriProvider)
Creates a new enforcement filter.
|
TokenTransformationFilter(Handler handler,
URI endpoint,
Expression<String> idToken)
Constructs a new TokenTransformationFilter transforming the OpenID Connect id_token from
idToken
into a SAML 2.0 Assertions structure (into StsContext ). |
Modifier and Type | Method and Description |
---|---|
void |
AbstractScriptableHeapObject.setClientHandler(Handler clientHandler)
Sets the HTTP client handler which should be made available to scripts.
|
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
InsertSsoTokenHeaderFilter.filter(Context context,
Request request,
Handler next) |
Promise<Response,NeverThrowsException> |
HeadlessAuthenticationFilter.filter(Context context,
Request request,
Handler next) |
Promise<Response,NeverThrowsException> |
ApiVersionProtocolHeaderFilter.filter(Context context,
Request request,
Handler next) |
Modifier and Type | Method and Description |
---|---|
Handler |
AmService.getAuthenticatedHandler()
Returns a
Handler that will perform automatic authentication
with the provided agent credentials. |
Handler |
AmService.getHandler()
Returns the handler to use with this configuration.
|
Handler |
AmService.withHeadlessAuthentication(Handler delegate)
Returns a
Handler which wraps the HeadlessAuthenticationFilter . |
Modifier and Type | Method and Description |
---|---|
static AmService.Builder |
AmService.builder(URI baseUri,
Handler amHandler,
Clock clock,
String agentId,
SecretReference<GenericSecret> agentPassword)
Returns a new
AmService.Builder for creating a new AmService instance. |
Handler |
AmService.withHeadlessAuthentication(Handler delegate)
Returns a
Handler which wraps the HeadlessAuthenticationFilter . |
Constructor and Description |
---|
AgentAuthenticationService(Handler handler,
URI uri)
Constructs a
AgentAuthenticationService . |
DefaultAuthenticationService(Handler handler,
URI uri)
Constructs a
DefaultAuthenticationService . |
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
UmaResourceServerFilter.filter(Context context,
Request request,
Handler next) |
Constructor and Description |
---|
UmaResourceServerFilter(UmaSharingService umaService,
Handler protectionApiHandler,
String realm)
Constructs a new UmaResourceServerFilter.
|
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
WebSocketProxyFilter.filter(Context context,
Request request,
Handler next) |
Copyright 2011-2017 ForgeRock AS.