Uses of Interface
org.forgerock.services.context.Context
Package
Description
This package contains all classes pertaining to AM's IoT functionality.
This package defines the authorization API interfaces for use in a CREST environment.
This package defines the core interfaces and classes to provide an asynchronous and improved
JASPI-like message authentication API.
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.
Provides interfaces for managing and interacting with HTTP Sessions.
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
Common utility classes for monitoring.
Commons OAuth Framework API.
Forgerock Apple Client implementation.
Forgerock Facebook Client Implementation.
OAuth 2.0 ForgeRock Client Implementation.
OpenID Connect ForgeRock Client Implementation.
This package contains classes for the handling of REST request to CREST Resource endpoints with the concept of realms
in OpenAM built in.
Contains classes for handling self service console configuration.
A secret store implementation that can retrieve keys from a Google Cloud Platform Key Management Service.
This package contains the core implementation for the anonymous process service.
This package contains a common email stage implementation.
This package contains a common user kba stage implementation.
This package contains the
Context
interface and various common protocol
independent implementations.Classes that allow services to be described.
This package provides a simple framework for implementing routers.
-
Uses of Context in org.forgerock.am.iot
Modifier and TypeMethodDescriptionThingsResource.actionInstance
(Context context, String id, ActionRequest request) ThingsAccessAuditFilter.filterAction
(Context context, ActionRequest request, RequestHandler next) ThingsResource.readInstance
(Context context, String id, ReadRequest request) -
Uses of Context in org.forgerock.authz.filter.crest.api
Modifier and TypeMethodDescriptionCrestAuthorizationModule.authorizeAction
(Context context, ActionRequest request) Authorizes a received REST action request.CrestAuthorizationModule.authorizeCreate
(Context context, CreateRequest request) Authorizes a received REST create request.CrestAuthorizationModule.authorizeDelete
(Context context, DeleteRequest request) Authorizes a received REST delete request.CrestAuthorizationModule.authorizePatch
(Context context, PatchRequest request) Authorizes a received REST patch request.CrestAuthorizationModule.authorizeQuery
(Context context, QueryRequest request) Authorizes a received REST query request.CrestAuthorizationModule.authorizeRead
(Context context, ReadRequest request) Authorizes a received REST read request.CrestAuthorizationModule.authorizeUpdate
(Context context, UpdateRequest request) Authorizes a received REST update request. -
Uses of Context in org.forgerock.caf.authentication.api
Modifier and TypeInterfaceDescriptioninterface
The authentication framework uses thisMessageContext
to pass messages and message processing state to authentication contexts for processing by authentication modules.interface
The authentication framework uses thisMessageContextInfo
to pass messages and message processing state to authentication modules for processing of messages. -
Uses of Context in org.forgerock.caf.authentication.framework
Modifier and TypeClassDescriptionfinal class
An implementation ofMessageContext
that holds contextual information and state for a given request and response message exchange. -
Uses of Context in org.forgerock.http
Modifier and TypeMethodDescriptionFilters the request and/or response of an exchange.Sends an HTTP request and returns aPromise
representing the pending HTTP response.Client.sendWithoutClose
(Context context, Request request) Sends an HTTP request and returns aPromise
representing the pending HTTP response. -
Uses of Context in org.forgerock.http.filter
Modifier and TypeMethodDescriptionstatic BiPredicate<Context,
Request> Filters.matchRequestUriPath
(String regex) Returns aBiPredicate
which will only match requests whose URI path matches the provided regular expression.static BiPredicate<Context,
Request> Filters.matchRequestUriPath
(Pattern regex) Returns aBiPredicate
which will only match requests whose URI path matches the provided regular expression.Modifier and TypeMethodDescriptionHandles all OPTION requests to CREST resources, all other request methods are handled by theHandler
.Modifier and TypeMethodDescriptionstatic 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. -
Uses of Context in org.forgerock.http.filter.cors
Modifier and TypeMethodDescriptionCorsPolicyProvider.findApplicable
(Context context, String origin) Returns an optional CORS policy applicable in thiscontext
, for the givenorigin
. -
Uses of Context in org.forgerock.http.handler
-
Uses of Context in org.forgerock.http.oauth2
Modifier and TypeClassDescriptionclass
AnOAuth2Context
could be used to store and retrieve anAccessTokenInfo
.Modifier and TypeMethodDescriptionDeprecated.ResourceAccess.getRequiredScopes
(Context context, Request request) Returns the scopes required to access the resource.default Promise<AccessTokenInfo,
AccessTokenException> Deprecated, for removal: This API element is subject to removal in a future version.default Promise<AccessTokenInfo,
AccessTokenException> Resolves a given access token against an authorization server.ModifierConstructorDescriptionOAuth2Context
(Context parent, AccessTokenInfo accessToken) Creates a new OAuth2 context with the providedAccessTokenInfo
. -
Uses of Context in org.forgerock.http.oauth2.resolver
Modifier and TypeMethodDescriptionCachingAccessTokenResolver.resolve
(Context context, Supplier<Request, IOException> request, String token) OpenAmAccessTokenResolver.resolve
(Context context, Supplier<Request, IOException> request, String token) Deprecated.TokenIntrospectionAccessTokenResolver.resolve
(Context context, Supplier<Request, IOException> request, String token) -
Uses of Context in org.forgerock.http.routing
Modifier and TypeClassDescriptionclass
AContext
which is created when a request is and has been routed based on resource API version.final class
AContext
which is created when a request has been routed.Modifier and TypeMethodDescriptionprotected ApiVersionRouterContext
ResourceApiVersionRoutingFilter.createApiVersionRouterContext
(Context context) Creates aApiVersionRouterContext
using the default version behaviour and whether to issue warnings from the behaviourManager instance.static UriRouterContext.Builder
UriRouterContext.uriRouterContext
(Context parent) Return a builder for a newUriRouterContext
.ModifierConstructorDescriptionApiVersionRouterContext
(Context parent, DefaultVersionBehaviour defaultVersionBehaviour, boolean warningEnabled) Creates a new resource API version routing context having the provided parent, default versioning behaviour and whether warnings will be issued.UriRouterContext
(Context parent, String matchedUri, String remainingUri, Map<String, String> uriTemplateVariables) Creates a new routing context having the provided parent, URI template variables, and an ID automatically generated usingUUID.randomUUID()
.UriRouterContext
(Context parent, String matchedUri, String remainingUri, Map<String, String> uriTemplateVariables, URI originalUri) Creates a new routing context having the provided parent, URI template variables, and an ID automatically generated usingUUID.randomUUID()
. -
Uses of Context in org.forgerock.http.session
Modifier and TypeClassDescriptionfinal class
ASessionContext
is a mechanism for maintaining state between components when processing a successive requests from the same logical client or end-user.ModifierConstructorDescriptionSessionContext
(Context parent, Session session) Constructs a newSessionContext
. -
Uses of Context in org.forgerock.json.resource
Modifier and TypeClassDescriptionclass
AContext
containing information which should be returned to the user in some appropriate form to the user.Modifier and TypeMethodDescriptionprotected Context
Optional Context-transformation function if the implementer has requirements to override theContext
provided in theConnection
's method invocations.Modifier and TypeMethodDescriptionAbstractAsynchronousConnection.action
(Context context, ActionRequest request) AbstractConnectionWrapper.action
(Context context, ActionRequest request) Performs an action against a specific resource, or set of resources.Connection.action
(Context context, ActionRequest request) Performs an action against a specific resource, or set of resources.AbstractConnectionWrapper.actionAsync
(Context context, ActionRequest request) Asynchronously performs an action against a specific resource, or set of resources.Connection.actionAsync
(Context context, ActionRequest request) Asynchronously performs an action against a specific resource, or set of resources.default Promise<ActionResponse,
ResourceException> CollectionResourceProvider.actionCollection
(Context context, ActionRequest request) Performs the providedaction
against the resource collection.MemoryBackend.actionCollection
(Context context, ActionRequest request) Performs the providedaction
against the resource collection.default Promise<ActionResponse,
ResourceException> CollectionResourceProvider.actionInstance
(Context context, String resourceId, ActionRequest request) Performs the providedaction
against a resource within the collection.MemoryBackend.actionInstance
(Context context, String id, ActionRequest request) Performs the providedaction
against a resource within the collection.default Promise<ActionResponse,
ResourceException> SingletonResourceProvider.actionInstance
(Context context, ActionRequest request) Performs the providedaction
against the single resource instance.AbstractAsynchronousConnection.create
(Context context, CreateRequest request) AbstractConnectionWrapper.create
(Context context, CreateRequest request) Adds a new JSON resource.Connection.create
(Context context, CreateRequest request) Adds a new JSON resource.AbstractConnectionWrapper.createAsync
(Context context, CreateRequest request) Asynchronously adds a new JSON resource.Connection.createAsync
(Context context, CreateRequest request) Asynchronously adds a new JSON resource.default Promise<ResourceResponse,
ResourceException> CollectionResourceProvider.createInstance
(Context context, CreateRequest request) Adds
a new resource instance to the collection.MemoryBackend.createInstance
(Context context, CreateRequest request) Adds
a new resource instance to the collection.AbstractAsynchronousConnection.delete
(Context context, DeleteRequest request) AbstractConnectionWrapper.delete
(Context context, DeleteRequest request) Deletes a JSON resource.Connection.delete
(Context context, DeleteRequest request) Deletes a JSON resource.AbstractConnectionWrapper.deleteAsync
(Context context, DeleteRequest request) Asynchronously deletes a JSON resource.Connection.deleteAsync
(Context context, DeleteRequest request) Asynchronously deletes a JSON resource.default Promise<ResourceResponse,
ResourceException> CollectionResourceProvider.deleteInstance
(Context context, String resourceId, DeleteRequest request) Removes
a resource instance from the collection.MemoryBackend.deleteInstance
(Context context, String id, DeleteRequest request) Removes
a resource instance from the collection.Filter.filterAction
(Context context, ActionRequest request, RequestHandler next) Filters an action request.ResourceApiVersionRoutingFilter.filterAction
(Context context, ActionRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterAction
(Context context, ActionRequest request, RequestHandler next) Filter.filterCreate
(Context context, CreateRequest request, RequestHandler next) Filters a create request.ResourceApiVersionRoutingFilter.filterCreate
(Context context, CreateRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterCreate
(Context context, CreateRequest request, RequestHandler next) Filter.filterDelete
(Context context, DeleteRequest request, RequestHandler next) Filters a delete request.ResourceApiVersionRoutingFilter.filterDelete
(Context context, DeleteRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterDelete
(Context context, DeleteRequest request, RequestHandler next) Filter.filterPatch
(Context context, PatchRequest request, RequestHandler next) Filters a patch request.ResourceApiVersionRoutingFilter.filterPatch
(Context context, PatchRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterPatch
(Context context, PatchRequest request, RequestHandler next) Filter.filterQuery
(Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next) Filters a query request.ResourceApiVersionRoutingFilter.filterQuery
(Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next) ResourceApiVersionSpecificationFilter.filterQuery
(Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next) Filter.filterRead
(Context context, ReadRequest request, RequestHandler next) Filters a read request.ResourceApiVersionRoutingFilter.filterRead
(Context context, ReadRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterRead
(Context context, ReadRequest request, RequestHandler next) Filter.filterUpdate
(Context context, UpdateRequest request, RequestHandler next) Filters an update request.ResourceApiVersionRoutingFilter.filterUpdate
(Context context, UpdateRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterUpdate
(Context context, UpdateRequest request, RequestHandler next) boolean
ResourceApiVersionSpecificationFilter.NoApiVersionHandler.handle
(Context context, ResourcePath resourcePath) Handler called when a request has no resource API version.FilterChain.handleAction
(Context context, ActionRequest request) default Promise<ActionResponse,
ResourceException> RequestHandler.handleAction
(Context context, ActionRequest request) Handles performing an action on a resource, and optionally returns an associated result.Router.handleAction
(Context context, ActionRequest request) SynchronousRequestHandler.handleAction
(Context context, ActionRequest request) Handles performing an action on a resource, and optionally returns an associated result.AbstractConnectionWrapper.handleApiRequest
(Context context, Request request) DescribedSyncRequestHandlerAdapter.handleApiRequest
(Context context, Request request) FilterChain.handleApiRequest
(Context context, Request request) Router.handleApiRequest
(Context context, Request request) FilterChain.handleCreate
(Context context, CreateRequest request) default Promise<ResourceResponse,
ResourceException> RequestHandler.handleCreate
(Context context, CreateRequest request) Adds a new JSON resource, returning aPromise
that will be completed when the resource has been added.Router.handleCreate
(Context context, CreateRequest request) SynchronousRequestHandler.handleCreate
(Context context, CreateRequest request) Adds a new JSON resource.FilterChain.handleDelete
(Context context, DeleteRequest request) default Promise<ResourceResponse,
ResourceException> RequestHandler.handleDelete
(Context context, DeleteRequest request) Deletes a JSON resource, returning aPromise
that will be completed when the resource has been deleted.Router.handleDelete
(Context context, DeleteRequest request) SynchronousRequestHandler.handleDelete
(Context context, DeleteRequest request) Deletes a JSON resource.void
ResourceApiVersionSpecificationFilter.ResourcePathAndVersionSpecification.handleNoApiVersionSupplied
(Context context, ResourcePath resourcePath) Support handling when no resource API version is supplied on the request.void
ResourceApiVersionSpecificationFilter.VersionSpecification.handleNoApiVersionSupplied
(Context context, ResourcePath resourcePath) Support custom handling when no resource API version is supplied on the request.FilterChain.handlePatch
(Context context, PatchRequest request) default Promise<ResourceResponse,
ResourceException> RequestHandler.handlePatch
(Context context, PatchRequest request) Updates a JSON resource by applying a set of changes to its existing content, returning aPromise
that will be completed when the resource has been updated.Router.handlePatch
(Context context, PatchRequest request) SynchronousRequestHandler.handlePatch
(Context context, PatchRequest request) Updates a JSON resource by applying a set of changes to its existing content.FilterChain.handleQuery
(Context context, QueryRequest request, QueryResourceHandler handler) default Promise<QueryResponse,
ResourceException> RequestHandler.handleQuery
(Context context, QueryRequest request, QueryResourceHandler handler) Searches for all JSON resources matching a user specified set of criteria, returning aPromise
that will be completed when the search has completed.Router.handleQuery
(Context context, QueryRequest request, QueryResourceHandler handler) SynchronousRequestHandler.handleQuery
(Context context, QueryRequest request, Collection<ResourceResponse> resources) Searches for all JSON resources matching a user specified set of criteria.FilterChain.handleRead
(Context context, ReadRequest request) default Promise<ResourceResponse,
ResourceException> RequestHandler.handleRead
(Context context, ReadRequest request) Reads a JSON resource, returning aPromise
that will be completed when the resource has been read.Router.handleRead
(Context context, ReadRequest request) SynchronousRequestHandler.handleRead
(Context context, ReadRequest request) Reads a JSON resource.FilterChain.handleUpdate
(Context context, UpdateRequest request) default Promise<ResourceResponse,
ResourceException> RequestHandler.handleUpdate
(Context context, UpdateRequest request) Updates a JSON resource by replacing its existing content with new content, returning aPromise
that will be completed when the resource has been updated.Router.handleUpdate
(Context context, UpdateRequest request) SynchronousRequestHandler.handleUpdate
(Context context, UpdateRequest request) Updates a JSON resource by replacing its existing content with new content.boolean
Returnstrue
if the conditional filter should be invoked, orfalse
if processing should continue directly to the next filter in the filter chain.AbstractAsynchronousConnection.patch
(Context context, PatchRequest request) AbstractConnectionWrapper.patch
(Context context, PatchRequest request) Updates a JSON resource by applying a set of changes to its existing content.Connection.patch
(Context context, PatchRequest request) Updates a JSON resource by applying a set of changes to its existing content.AbstractConnectionWrapper.patchAsync
(Context context, PatchRequest request) Asynchronously updates a JSON resource by applying a set of changes to its existing content.Connection.patchAsync
(Context context, PatchRequest request) Asynchronously updates a JSON resource by applying a set of changes to its existing content.default Promise<ResourceResponse,
ResourceException> CollectionResourceProvider.patchInstance
(Context context, String resourceId, PatchRequest request) Patches
an existing resource within the collection.MemoryBackend.patchInstance
(Context context, String id, PatchRequest request) Patches
an existing resource within the collection.default Promise<ResourceResponse,
ResourceException> SingletonResourceProvider.patchInstance
(Context context, PatchRequest request) Patches
the single resource instance.AbstractAsynchronousConnection.query
(Context context, QueryRequest request, Collection<? super ResourceResponse> results) AbstractAsynchronousConnection.query
(Context context, QueryRequest request, QueryResourceHandler handler) AbstractConnectionWrapper.query
(Context context, QueryRequest request, Collection<? super ResourceResponse> results) Searches for all JSON resources matching a user specified set of criteria, and places the results in the provided collection.AbstractConnectionWrapper.query
(Context context, QueryRequest request, QueryResourceHandler handler) Searches for all JSON resources matching a user specified set of criteria, and returns aPromise
that will be completed with the results of the search.Connection.query
(Context context, QueryRequest request, Collection<? super ResourceResponse> results) Searches for all JSON resources matching a user specified set of criteria, and places the results in the provided collection.Connection.query
(Context context, QueryRequest request, QueryResourceHandler handler) Searches for all JSON resources matching a user specified set of criteria, and returns aPromise
that will be completed with the results of the search.AbstractConnectionWrapper.queryAsync
(Context context, QueryRequest request, QueryResourceHandler handler) Asynchronously searches for all JSON resources matching a user specified set of criteria, and returns aPromise
that will be completed with the results of the search.Connection.queryAsync
(Context context, QueryRequest request, QueryResourceHandler handler) Asynchronously searches for all JSON resources matching a user specified set of criteria, and returns aPromise
that will be completed with the results of the search.default Promise<QueryResponse,
ResourceException> CollectionResourceProvider.queryCollection
(Context context, QueryRequest request, QueryResourceHandler handler) Searches
the collection for all resources which match the query request criteria.MemoryBackend.queryCollection
(Context context, QueryRequest request, QueryResourceHandler handler) Searches
the collection for all resources which match the query request criteria.AbstractAsynchronousConnection.read
(Context context, ReadRequest request) AbstractConnectionWrapper.read
(Context context, ReadRequest request) Reads a JSON resource.Connection.read
(Context context, ReadRequest request) Reads a JSON resource.AbstractConnectionWrapper.readAsync
(Context context, ReadRequest request) Asynchronously reads a JSON resource.Connection.readAsync
(Context context, ReadRequest request) Asynchronously reads a JSON resource.default Promise<ResourceResponse,
ResourceException> CollectionResourceProvider.readInstance
(Context context, String resourceId, ReadRequest request) Reads
an existing resource within the collection.MemoryBackend.readInstance
(Context context, String id, ReadRequest request) Reads
an existing resource within the collection.default Promise<ResourceResponse,
ResourceException> SingletonResourceProvider.readInstance
(Context context, ReadRequest request) Reads
the single resource instance.protected Context
Optional Context-transformation function if the implementer has requirements to override theContext
provided in theConnection
's method invocations.AbstractAsynchronousConnection.update
(Context context, UpdateRequest request) AbstractConnectionWrapper.update
(Context context, UpdateRequest request) Updates a JSON resource by replacing its existing content with new content.Connection.update
(Context context, UpdateRequest request) Updates a JSON resource by replacing its existing content with new content.AbstractConnectionWrapper.updateAsync
(Context context, UpdateRequest request) Asynchronously updates a JSON resource by replacing its existing content with new content.Connection.updateAsync
(Context context, UpdateRequest request) Asynchronously updates a JSON resource by replacing its existing content with new content.default Promise<ResourceResponse,
ResourceException> CollectionResourceProvider.updateInstance
(Context context, String resourceId, UpdateRequest request) Updates
an existing resource within the collection.MemoryBackend.updateInstance
(Context context, String id, UpdateRequest request) Updates
an existing resource within the collection.default Promise<ResourceResponse,
ResourceException> SingletonResourceProvider.updateInstance
(Context context, UpdateRequest request) Updates
the single resource instance.ModifierConstructorDescriptionAdviceContext
(Context parent, Collection<String> restrictedAdviceNames) Creates a new AdviceContext with the provided parent. -
Uses of Context in org.forgerock.monitoring
Modifier and TypeMethodDescriptionDropwizardMetricsCollectionResourceProvider.queryCollection
(Context context, QueryRequest request, QueryResourceHandler handler) DropwizardMetricsCollectionResourceProvider.readInstance
(Context context, String resourceId, ReadRequest request) -
Uses of Context in org.forgerock.oauth
-
Uses of Context in org.forgerock.oauth.clients.apple
-
Uses of Context in org.forgerock.oauth.clients.facebook
Modifier and TypeMethodDescriptionprotected Promise<JsonValue,
OAuthException> FacebookClient.getAppAccessToken
(Context context) Retrieves the app access token from IDP.protected AsyncFunction<JsonValue,
JsonValue, OAuthException> FacebookClient.getInputTokenInfo
(Context context, String inputToken) Retrieves the access token information as aJsonValue
.FacebookClient.handleNativePostAuth
(Context context, DataStore dataStore, Map<String, List<String>> parameters) -
Uses of Context in org.forgerock.oauth.clients.oauth2
Modifier and TypeMethodDescriptionprotected Promise<JsonValue,
OAuthException> OAuth2Client.getAccessTokenInfo
(Context context, String accessToken) Retrieves the access token information as aJsonValue
.OAuth2Client.handleNativePostAuth
(Context context, DataStore dataStore, Map<String, List<String>> parameters) -
Uses of Context in org.forgerock.oauth.clients.oidc
-
Uses of Context in org.forgerock.openam.rest.resource
Modifier and TypeMethodDescriptionRestrictedTokenContextFilter.filterAction
(Context context, ActionRequest request, RequestHandler next) RestrictedTokenContextFilter.filterCreate
(Context context, CreateRequest request, RequestHandler next) RestrictedTokenContextFilter.filterDelete
(Context context, DeleteRequest request, RequestHandler next) RestrictedTokenContextFilter.filterPatch
(Context context, PatchRequest request, RequestHandler next) RestrictedTokenContextFilter.filterQuery
(Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next) RestrictedTokenContextFilter.filterRead
(Context context, ReadRequest request, RequestHandler next) RestrictedTokenContextFilter.filterUpdate
(Context context, UpdateRequest request, RequestHandler next) -
Uses of Context in org.forgerock.openam.selfservice.config
Modifier and TypeMethodDescriptionServiceConfigProvider.getServiceConfig
(C config, Context context, String realm) Provides the self service config for the appropriate flow. -
Uses of Context 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 Context in org.forgerock.selfservice.core
Modifier and TypeClassDescriptionfinal class
A Context that indicates the request came from Self-Service.Modifier and TypeMethodDescriptionAnonymousProcessService.handleAction
(Context context, ActionRequest request) AnonymousProcessService.handleRead
(Context context, ReadRequest request) UserUpdateService.patchInstance
(Context context, String resourceId, PatchRequest request) ModifierConstructorDescriptionSelfServiceContext
(Context parent) Constructs a new SelfServiceContext. -
Uses of Context in org.forgerock.selfservice.stages.email
-
Uses of Context in org.forgerock.selfservice.stages.kba
Modifier and TypeMethodDescriptionvoid
SecurityAnswerLockoutManager.handleSecurityAnswerMatchFailure
(Context context, JsonValue user, String identityServiceUrl) Handle the security answer match failure.void
SecurityAnswerLockoutManager.validateUserLockout
(Context context, JsonValue user) Verifies whether user should be allowed to attempt security answer verification. -
Uses of Context in org.forgerock.services.context
Modifier and TypeClassDescriptionclass
A base implementation of theContext
interface.final class
AnAttributesContext
is a mechanism for transferring transient state between components when processing a single request.final class
Client context gives easy access to client-related information that are available into the request.class
A context for audit information for an incoming request.final class
AContext
which has an a globally unique ID but no parent.final class
AContext
containing information about the client performing the request which may be used when performing authorization decisions.class
This context aims to hold theTransactionId
.Modifier and TypeMethodDescriptionReturns an @{link Optional} which contains the first context in the chain whose type is a sub-type of the providedContext
class if one exists, or an empty optional if none is present.final <T extends Context>
T<T extends Context>
TReturns the first context in the chain whose type is a sub-type of the providedContext
class.Modifier and TypeMethodDescriptionfinal Context
AbstractContext.getContext
(String contextName) Context.getContext
(String contextName) Returns the first context in the chain whose context name matches the provided name.final Context
AbstractContext.getParent()
Context.getParent()
Returns the parent of this context.Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptionstatic ClientContext.Builder
ClientContext.buildExternalClientContext
(Context parent) Creates aClientContext.Builder
for creating an externalClientContext
instance.static ClientContext
ClientContext.newInternalClientContext
(Context parent) Creates an internalClientContext
instance.Modifier and TypeMethodDescriptionfinal boolean
AbstractContext.containsContext
(Class<? extends Context> clazz) boolean
Context.containsContext
(Class<? extends Context> clazz) Returnstrue
if there is a context in the chain whose type is a sub-type of the providedContext
class.ModifierConstructorDescriptionprotected
AbstractContext
(String id, String name, Context parent) Constructs a newAbstractContext
.protected
AbstractContext
(Context parent, String name) Constructs a newAbstractContext
with anull
id
.AttributesContext
(Context parent) Constructs a newAttributesContext
.RequestAuditContext
(Context parent) Deprecated.Prefer usingRequestAuditContext(Context, Instant)
not to rely on the system clock.RequestAuditContext
(Context parent, Clock clock) Deprecated.Prefer usingRequestAuditContext(Context, Instant)
.RequestAuditContext
(Context parent, Instant requestReceivedTime) Constructs a new context using the specified parent and the current time as the request received time.SecurityContext
(String id, Context parent, String authenticationId, Map<String, Object> authorization) Creates a new security context having the provided ID, and parent.Creates a new security context having the provided parent and an ID automatically generated usingUUID.randomUUID()
.TransactionIdContext
(Context parent, TransactionId transactionId) Constructs a new TransactionIdContext. -
Uses of Context in org.forgerock.services.descriptor
Modifier and TypeMethodDescriptionDescribable.handleApiRequest
(Context context, R request) Handle a request for the API Descriptor. -
Uses of Context in org.forgerock.services.routing
Modifier and TypeMethodDescriptionRouteMatch.decorateContext
(Context context) Decorates the given context with any routing information for the route.Modifier and TypeMethodDescriptionAbstractRouter.getBestApiRoute
(Context context, R request) Get the best route for an API request.AbstractRouter.getBestRoute
(Context context, R request) Finds the best route that matches the given request based on the route matchers of the registered routes.Modifier and TypeMethodDescriptionRouteMatch.decorateContext
(Context context) Decorates the given context with any routing information for the route.abstract RouteMatch
Evaluates the request and determines whether it matches the route.AbstractRouter.getBestApiRoute
(Context context, R request) Get the best route for an API request.AbstractRouter.getBestRoute
(Context context, R request) Finds the best route that matches the given request based on the route matchers of the registered routes.AbstractRouter.handleApiRequest
(Context context, R request)
AccessTokenResolver.resolve(Context, Supplier, String)
instead.