Package | Description |
---|---|
org.forgerock.caf.authentication.framework |
This package defines the authentication framework classes for the authentication of messages
via authentication contexts and modules.
|
org.forgerock.http |
Models and manages elements of the Hypertext Transfer Protocol.
|
org.forgerock.http.filter |
Core
Filter implementations. |
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.oauth.clients.oauth2 |
OAuth 2.0 ForgeRock Client Implementation.
|
org.forgerock.oauth.clients.oidc |
OpenID Connect ForgeRock Client Implementation.
|
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
AuthenticationFilter.filter(Context context,
Request request,
Handler next)
Authenticates incoming request messages and if successful calls the downstream filter or
handler and then secures the returned response.
|
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> |
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 | 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 | Field and Description |
---|---|
protected Handler |
OAuth2Client.httpHandler
Handler to be used to make http requests. |
Constructor and Description |
---|
OAuth2Client(Handler httpHandler,
T config,
Clock clock,
SecureRandom random)
Constructs an OAuth2Client using a provided
Handler and OAuthClientConfiguration . |
OAuth2Client(Handler httpHandler,
T config,
TimeService timeService,
SecureRandom random)
Deprecated.
|
Constructor and Description |
---|
OpenIDConnectClient(Handler httpHandler,
OpenIDConnectClientConfiguration config,
Clock clock,
SecureRandom random)
Constructs an OpenIDConnectClient using a provided
Handler and OpenIDConnectClientConfiguration . |
OpenIDConnectClient(Handler httpHandler,
OpenIDConnectClientConfiguration config,
TimeService timeService,
SecureRandom random)
Deprecated.
|
Copyright © 2010-2018, ForgeRock All Rights Reserved.