Package | Description |
---|---|
org.forgerock.openig.audit.decoration |
Contains the audit decorator and related filter/handler interceptors.
|
org.forgerock.openig.audit.monitor |
Contains a simple monitoring endpoint that returns monitoring statistics of audited components.
|
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 started and elapsed messages when
entering/exiting a Filter or a Handler.
|
org.forgerock.openig.doc |
Samples for those following along with the product documentation.
|
org.forgerock.openig.filter |
Filters the requests and/or responses of HTTP exchanges.
|
org.forgerock.openig.filter.oauth2 |
This package contains the OAuth2 Token validation filter that acts as an OAuth 2 Resource Server.
|
org.forgerock.openig.filter.oauth2.challenge |
This package contains handlers implementations that return challenging responses in case of OAuth2 processing errors.
|
org.forgerock.openig.filter.oauth2.client |
OAuth 2.0 Client filter implementation.
|
org.forgerock.openig.filter.oauth2.resolver |
This package defines OpenAM specific logic needed to retrieve an
.AccessToken . |
org.forgerock.openig.handler |
Handles HTTP exchange requests by generating responses.
|
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 |
OpenIG SAML support.
|
org.forgerock.openig.heap |
Manages collections or "heaps" of associated objects, initialized from
declarative configuration artifacts.
|
org.forgerock.openig.script |
Scripting support.
|
Modifier and Type | Method and Description |
---|---|
protected Handler |
AuditDecorator.decorateHandler(Handler delegate,
org.forgerock.json.fluent.JsonValue decoratorConfig,
Context context) |
Modifier and Type | Method and Description |
---|---|
protected Handler |
AuditDecorator.decorateHandler(Handler delegate,
org.forgerock.json.fluent.JsonValue decoratorConfig,
Context context) |
Modifier and Type | Class and Description |
---|---|
class |
MonitorEndpointHandler
Sample statistic endpoint provider that returns JSON-formatted collected statistic values.
|
Modifier and Type | Method and Description |
---|---|
protected Handler |
CaptureDecorator.decorateHandler(Handler delegate,
org.forgerock.json.fluent.JsonValue decoratorConfig,
Context context) |
Modifier and Type | Method and Description |
---|---|
protected Handler |
CaptureDecorator.decorateHandler(Handler delegate,
org.forgerock.json.fluent.JsonValue decoratorConfig,
Context context) |
Modifier and Type | Method and Description |
---|---|
protected abstract Handler |
AbstractHandlerAndFilterDecorator.decorateHandler(Handler delegate,
org.forgerock.json.fluent.JsonValue decoratorConfig,
Context context)
|
Modifier and Type | Method and Description |
---|---|
protected abstract Handler |
AbstractHandlerAndFilterDecorator.decorateHandler(Handler delegate,
org.forgerock.json.fluent.JsonValue decoratorConfig,
Context context)
|
Modifier and Type | Method and Description |
---|---|
protected Handler |
TimerDecorator.decorateHandler(Handler delegate,
org.forgerock.json.fluent.JsonValue decoratorConfig,
Context context) |
Modifier and Type | Method and Description |
---|---|
protected Handler |
TimerDecorator.decorateHandler(Handler delegate,
org.forgerock.json.fluent.JsonValue decoratorConfig,
Context context) |
Modifier and Type | Method and Description |
---|---|
void |
SampleFilter.filter(Exchange exchange,
Handler next)
Set a header in the incoming request and in the outgoing response.
|
Modifier and Type | Class and Description |
---|---|
class |
Chain
A chain of exchange zero or more filters and one handler.
|
Modifier and Type | Method and Description |
---|---|
SwitchFilter |
SwitchFilter.addRequestCase(Expression condition,
Handler handler)
Add a request switch case with a condition and the handler to execute if condition yields.
|
SwitchFilter |
SwitchFilter.addResponseCase(Expression condition,
Handler handler)
Add a response switch case with a condition and the handler to execute if condition yields.
|
void |
SwitchFilter.filter(Exchange exchange,
Handler next) |
void |
StaticRequestFilter.filter(Exchange exchange,
Handler next) |
void |
SqlAttributesFilter.filter(Exchange exchange,
Handler next) |
void |
ScriptableFilter.filter(Exchange exchange,
Handler next) |
void |
LocationHeaderFilter.filter(Exchange exchange,
Handler next) |
void |
HttpBasicAuthFilter.filter(Exchange exchange,
Handler next) |
void |
HeaderFilter.filter(Exchange exchange,
Handler next) |
void |
Filter.filter(Exchange exchange,
Handler next)
Filters the request and/or response of an exchange.
|
void |
FileAttributesFilter.filter(Exchange exchange,
Handler next) |
void |
ExceptionFilter.filter(Exchange exchange,
Handler next) |
void |
EntityExtractFilter.filter(Exchange exchange,
Handler next) |
void |
CryptoHeaderFilter.filter(Exchange exchange,
Handler next) |
void |
CookieFilter.filter(Exchange exchange,
Handler next) |
void |
CaptureFilter.filter(Exchange exchange,
Handler next)
Deprecated.
|
void |
AssignmentFilter.filter(Exchange exchange,
Handler next) |
Constructor and Description |
---|
Chain(Handler handler)
Builds a chain of filters that will finally dispatch to the given handler.
|
ExceptionFilter(Handler handler)
Build a new exception filter that will divert the flow to the given handler in case of exception.
|
HttpBasicAuthFilter(Expression username,
Expression password,
Handler failureHandler)
Builds a
HttpBasicAuthFilter with required expressions and error handler. |
Modifier and Type | Method and Description |
---|---|
void |
OAuth2ResourceServerFilter.filter(Exchange exchange,
Handler next) |
void |
EnforcerFilter.filter(Exchange exchange,
Handler next) |
Modifier and Type | Class and Description |
---|---|
class |
AuthenticateChallengeHandler
This handler build an authentication challenge to be returned in the
Response Authorization HTTP
header. |
class |
InsufficientScopeChallengeHandler
Builds an error
Response when the request is missing some required scope. |
class |
InvalidRequestChallengeHandler
Builds an error
Response when the request is invalid (missing param, malformed, ...). |
class |
InvalidTokenChallengeHandler
Builds an error
Response when the token extracted from the request is invalid (expired, revoked, ...). |
class |
NoAuthenticationChallengeHandler
Builds an error
Response when the request does not contains any OAuth 2.0 Bearer token. |
Modifier and Type | Method and Description |
---|---|
void |
OAuth2ClientFilter.filter(Exchange exchange,
Handler next) |
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.
|
OAuth2ClientFilter |
OAuth2ClientFilter.setProviderHandler(Handler handler)
Sets the handler which will be used for communicating with the
authorization server.
|
Constructor and Description |
---|
OpenAmAccessTokenResolver(Handler client,
OpenAmAccessToken.Builder builder,
String tokenInfoEndpoint)
Creates a new
OpenAmAccessTokenResolver configured to access the given /oauth2/tokeninfo
OpenAm endpoint. |
OpenAmAccessTokenResolver(Handler client,
org.forgerock.util.time.TimeService time,
String tokenInfoEndpoint)
Creates a new
OpenAmAccessTokenResolver configured to access the given /oauth2/tokeninfo
OpenAm endpoint. |
Modifier and Type | Class and Description |
---|---|
class |
ClientHandler
Submits exchange requests to remote servers.
|
class |
DispatchHandler
Dispatches to one of a list of handlers.
|
class |
GenericHandler
A generic base class for handlers with handy injected heap objects.
|
class |
ScriptableHandler
A scriptable handler.
|
class |
SequenceHandler
Processes an exchange through a sequence of handlers.
|
class |
StaticResponseHandler
Creates a static response in an HTTP exchange.
|
class |
WelcomeHandler
Creates a static response containing a simple HTML welcome page.
|
Modifier and Type | Method and Description |
---|---|
DispatchHandler |
DispatchHandler.addBinding(Expression condition,
Handler handler,
URI baseURI)
Binds an expression to the current handler to dispatch to.
|
SequenceHandler |
SequenceHandler.addBinding(Handler handler,
Expression postcondition)
Binds sequenced handlers with sequence processing postconditions.
|
DispatchHandler |
DispatchHandler.addUnconditionalBinding(Handler handler,
URI baseURI)
Adds an unconditional bindings to the handler.
|
Modifier and Type | Class and Description |
---|---|
class |
RouterHandler
Auto-configured
DispatchHandler . |
Modifier and Type | Method and Description |
---|---|
void |
RouterHandler.setDefaultHandler(Handler handler)
Sets the handler which should be invoked when no routes match the
request.
|
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 |
---|---|
protected void |
AbstractScriptableHeapObject.runScript(Exchange exchange,
Handler next)
Runs the compiled script using the provided exchange and optional
forwarding handler.
|
Copyright © 2014 ForgeRock AS. All rights reserved.