Uses of Class
org.forgerock.util.promise.NeverThrowsException
Package
Description
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.
Models and manages elements of the Hypertext Transfer Protocol.
Provides routing functionality for HTTP requests.
Provides interfaces for managing and interacting with HTTP Sessions.
HTTP service provider API.
Classes to support OpenAPI API Descriptions using Swagger.
Provides an API for the traversal and manipulation of JSON object model structures in Java.
Classes and interfaces for JWT encryption and JWEs.
Classes and interfaces for JWT signing and JWS'.
Identity Assertion handler.
Integrates with the Java Enterprise Edition Unified Expression Language API.
Filters the requests and/or responses of HTTP.
Filters the HTTP request using a declarative configuration model based on a chain of predicates to validate.
This package contains the components used to implement circuit breaking.
Support for financial APIs (Open Banking, PSD2, Berlin Group, ...).
This package contains the components used to implement some JWT related filter.
This package contains the OAuth2 Token validation filter that acts as an OAuth 2 Resource Server.
OAuth 2.0 Client filter implementation.
JWT confirmation key support for access tokens.
This package contains the components used to implement a throttling rate support.
Handles HTTP requests by generating responses.
Handles the tech preview identity assertion processing.
Contains components and APIs used to serve static resources.
Provides automated router capability that loads its configurations files (called routes) from a given directory.
Identity Gateway SAML support.
Integration classes specifically for ForgeRock Access Management.
AM Session idle timeout tracking.
This package contains the components used to integrate with PingOne Protect, to support risk evaluation and routing.
Contains every classes related to Ping's sideband API.
Contains proxy related heaplets.
Contains RxJava specific tools.
Provides the Common Secrets API for accessing secrets of various kinds.
Manage the Identity Gateway session using an HTTP Cookie.
Provides SQL and JDBC support.
Common tools used in policy service.
Access Management Server.
This package contains classes used to perform JWT validation.
AM notifications service.
Web socket notifications service implementation.
Contains every Commons secrets related classes used in IG but not backported into Commons.
This package contains classes to call AM to retrieve user's session info.
This package contains the UMA (User Managed Access) components used to support the Uma Resource Server role.
Miscellaneous utility classes.
Provides a unified API for accessing secrets of various kinds.
Secret store backend for retrieving keys from a local or remote JWK Set.
Implementations of
SecretStore
for accessing keys stored in Java KeyStores, such as
PKCS#11 Hardware Security Modules (HSMs) and PKCS#12 file-based encrypted key stores.A Secrets API backend that can obtain OAuth 2 access tokens from a token endpoint, along with a collection of
grant type handlers.
Provides a
SecretStore
implementation that loads secrets from a Common Configuration
PropertyResolver
and then decodes it with a
SecretPropertyFormat
.An implementation of the
Promise
API in Java.-
Uses of NeverThrowsException 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.Sends an HTTP request and returns aPromise
representing the pending HTTP response.Client.sendWithoutClose
(Request request) 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 NeverThrowsException in org.forgerock.http.filter
Modifier and TypeMethodDescriptionHandles all OPTION requests to CREST resources, all other request methods are handled by theHandler
. -
Uses of NeverThrowsException in org.forgerock.http.filter.cors
-
Uses of NeverThrowsException in org.forgerock.http.handler
Modifier and TypeMethodDescriptionHttpClientHandler.ProxyInfo.asyncProxyInfo
(URI proxyUri, CredentialPair<GenericSecret> credentialPair, Clock clock, Duration refreshDuration) Creates an instance of ProxyInfo for a proxy that requires authentication, this will update its secrets in the background and will not block threads.Sends an HTTP request to a remote server and returns aPromise
representing the asynchronous response. -
Uses of NeverThrowsException in org.forgerock.http.oauth2
Modifier and TypeMethodDescriptionDeprecated. -
Uses of NeverThrowsException in org.forgerock.http.protocol
Modifier and TypeMethodDescriptionEntity.getRawContentInputStreamAsync()
Returns a promise of an input stream representing the raw content of this entity.static <E extends Exception>
AsyncFunction<E,Response, NeverThrowsException> Responses.internalServerError()
Utility method returning an async function that creates aResponse
with statusStatus.INTERNAL_SERVER_ERROR
and the exception set as the cause.static Promise<Response,
NeverThrowsException> Response.newResponsePromise
(Response response) Returns aPromise
representing theResponse
for an asynchronousRequest
which has already completed.static PromiseImpl<Response,
NeverThrowsException> Response.newResponsePromiseImpl()
static <V,
E extends Exception>
AsyncFunction<NeverThrowsException,V, E> Responses.noopExceptionAsyncFunction()
Utility method returning an empty async function, whose goal is to ease the transformation of aPromise
type.static <V,
E extends Exception>
Function<NeverThrowsException,V, E> Responses.noopExceptionFunction()
Utility method returning an empty function, whose goal is to ease the transformation of aPromise
type.static <E extends Exception>
Function<E,Response, NeverThrowsException> Responses.onExceptionInternalServerError()
Utility function that returns aResponse
whose status isStatus.INTERNAL_SERVER_ERROR
and the exception attached to the response as the cause. -
Uses of NeverThrowsException in org.forgerock.http.routing
-
Uses of NeverThrowsException in org.forgerock.http.session
-
Uses of NeverThrowsException in org.forgerock.http.spi
-
Uses of NeverThrowsException in org.forgerock.http.swagger
-
Uses of NeverThrowsException in org.forgerock.json
Modifier and TypeMethodDescriptionstatic Function<JsonValue,
Boolean, NeverThrowsException> JsonValueFunctions.parseBoolean()
Returns aBoolean
by converting the JsonValue usingJsonValue.asLong()
, or by parsing the JsonValue string usingBoolean.parseBoolean(String)
. -
Uses of NeverThrowsException in org.forgerock.json.jose.jwe
Modifier and TypeMethodDescriptionPromise<? extends EncryptedJwt,
JweDecryptionCheckedException> EncryptedJwt.decrypt
(ValidSecretsReference<? extends CryptoKey, NeverThrowsException> secretsReference) Attempts to decrypt the JWT using any available keys from the givenValidSecretsReference
.SignedThenEncryptedJwt.decrypt
(ValidSecretsReference<? extends CryptoKey, NeverThrowsException> validSecretsReference) SignedThenEncryptedJwt.decryptAndVerify
(ValidSecretsReference<? extends CryptoKey, NeverThrowsException> decryptionSecretsReference, ValidSecretsReference<VerificationKey, NeverThrowsException> verificationSecretsReference) Decrypts the outer JWT and then verifies the signature on the inner JWT using supplied valid secrets.Promise<byte[],
JweDecryptionCheckedException> EncryptedJwt.decryptRawPayload
(ValidSecretsReference<? extends CryptoKey, NeverThrowsException> secretsReference) Attempts to decrypt the raw payload of the JWT using any keys from the given theSecret
s contained in the givenValidSecretsReference
. -
Uses of NeverThrowsException in org.forgerock.json.jose.jws
Modifier and TypeMethodDescriptionSigningManager.newVerificationHandler
(Purpose<VerificationKey> purpose, String keyId) Constructs a new SigningHandler configured for verifying with the provided secret purpose.SigningManager.newVerificationHandler
(ValidSecretsReference<VerificationKey, NeverThrowsException> validSecrets) Constructs a new SigningHandler configured for verifying with the provided valid secrets reference.Modifier and TypeMethodDescriptionPromise<? extends EncryptedJwt,
JweDecryptionCheckedException> EncryptedThenSignedJwt.decrypt
(ValidSecretsReference<? extends CryptoKey, NeverThrowsException> secretsReference) Decrypts the inner encrypted JWE so that the payload can be accessed.SigningManager.newVerificationHandler
(ValidSecretsReference<VerificationKey, NeverThrowsException> validSecrets) Constructs a new SigningHandler configured for verifying with the provided valid secrets reference. -
Uses of NeverThrowsException in org.forgerock.openig.assertion.handler
-
Uses of NeverThrowsException in org.forgerock.openig.el
Modifier and TypeMethodDescriptionEvaluates asynchronously the expression with the specified bindings and returns a promise of the resulting object if it matches the specified type, or a promise completed withnull
if it does not resolve or match.static Promise<Object,
NeverThrowsException> Expressions.evaluateAsync
(Object value, Bindings bindings) Evaluate an Object that may contain some expressions that needs to be evaluated.static Promise<List<Object>,
NeverThrowsException> Expressions.evaluateAsync
(List<Object> list, Bindings bindings) Evaluate a list that may contain some Expressions that needs to be evaluated.static Promise<Map<String,
Object>, NeverThrowsException> Expressions.evaluateAsync
(Map<String, Object> map, Bindings bindings) Evaluate a map that may contain some expressions that needs to be evaluated. -
Uses of NeverThrowsException in org.forgerock.openig.filter
Modifier and TypeMethodDescription -
Uses of NeverThrowsException in org.forgerock.openig.filter.allow
-
Uses of NeverThrowsException in org.forgerock.openig.filter.circuitbreaker
-
Uses of NeverThrowsException in org.forgerock.openig.filter.finance
-
Uses of NeverThrowsException in org.forgerock.openig.filter.jwt
-
Uses of NeverThrowsException in org.forgerock.openig.filter.oauth2
-
Uses of NeverThrowsException in org.forgerock.openig.filter.oauth2.client
Modifier and TypeMethodDescription -
Uses of NeverThrowsException in org.forgerock.openig.filter.oauth2.cnf
Modifier and TypeMethodDescriptionResult.asPromise()
Returns a new completed promise wrapping this result.ClientContextCertificateThumbprintVerifier.verify
(Context context, AccessTokenInfo tokenInfo, JsonValue cnfKey) ConfirmationKeyVerifier.verify
(Context context, AccessTokenInfo tokenInfo, JsonValue cnfKey) Verifies the given confirmation key value.Sha256AttributeCertificateThumbprintVerifier.verify
(Context context, AccessTokenInfo tokenInfo, JsonValue cnfKey) -
Uses of NeverThrowsException in org.forgerock.openig.filter.throttling
Modifier and TypeMethodDescriptionThrottlingStrategy.throttle
(String partitionKey, ThrottlingRate throttlingRate) Based on the given partitionKey and throttlingRate, return if the call is accepted or not.TokenBucketThrottlingStrategy.throttle
(String partitionKey, ThrottlingRate throttlingRate) -
Uses of NeverThrowsException in org.forgerock.openig.handler
Modifier and TypeMethodDescription -
Uses of NeverThrowsException in org.forgerock.openig.handler.assertion
-
Uses of NeverThrowsException in org.forgerock.openig.handler.resources
-
Uses of NeverThrowsException in org.forgerock.openig.handler.router
-
Uses of NeverThrowsException in org.forgerock.openig.handler.saml
Modifier and TypeMethodDescriptionprotected Promise<Response,
NeverThrowsException> AbstractSamlFederationHeaplet.defaultFailureHandler
(Context context, Request request) The default failure handler to use should none be provided in the configuration. -
Uses of NeverThrowsException in org.forgerock.openig.openam
Modifier and TypeMethodDescriptionprotected abstract Promise<Response,
NeverThrowsException> AbstractConditionAdviceFilter.doRedirect
(Context context, Request request, Handler next, List<org.forgerock.openig.openam.AbstractConditionAdviceFilter.Advice> advices, URI originalUri) Handle redirect to theinstance
to verify the required advices.protected Promise<Response,
NeverThrowsException> CdSsoConditionAdviceFilter.doRedirect
(Context context, Request request, Handler next, List<org.forgerock.openig.openam.AbstractConditionAdviceFilter.Advice> advices, URI originalUri) Modifier and TypeMethodDescriptionvoid
PolicyEnforcementFilter.setClaimsSubject
(AsyncFunction<Bindings, Map<String, Object>, NeverThrowsException> claimsSubject) Sets a function that returns a map of JWT claims to their values, for the subject.void
PolicyEnforcementFilter.setEnvironment
(AsyncFunction<Bindings, Map<String, List<Object>>, NeverThrowsException> environment) The environment passed from the client making the authorization request as a sets a map of keys to lists of values. -
Uses of NeverThrowsException in org.forgerock.openig.openam.session
-
Uses of NeverThrowsException in org.forgerock.openig.ping.protect
Modifier and TypeMethodDescription -
Uses of NeverThrowsException in org.forgerock.openig.ping.sideband
-
Uses of NeverThrowsException in org.forgerock.openig.proxy
Modifier and TypeMethodDescription -
Uses of NeverThrowsException in org.forgerock.openig.reactive
Modifier and TypeMethodDescriptionstatic <T> io.reactivex.rxjava3.core.SingleConverter<T,
Promise<T, NeverThrowsException>> ReactiveUtils.toPromise()
Converts a Single to a promise. -
Uses of NeverThrowsException in org.forgerock.openig.secrets
Modifier and TypeMethodDescription<S extends GenericSecret>
Promise<Stream<S>,NeverThrowsException> -
Uses of NeverThrowsException in org.forgerock.openig.session.cookie
Modifier and TypeMethodDescription -
Uses of NeverThrowsException in org.forgerock.openig.sql
-
Uses of NeverThrowsException in org.forgerock.openig.tools
-
Uses of NeverThrowsException in org.forgerock.openig.tools.am
Modifier and TypeMethodDescriptionWill Call AM instance to get missing information in order to create the AmService builder.AmService.stop()
Stops this server instance (and associated services). -
Uses of NeverThrowsException in org.forgerock.openig.tools.jwt.validation
Modifier and TypeMethodDescriptionJweDecryptionConstraint.apply
(ValidatorConstraintContext constraintContext) JwtClaimConstraint.apply
(ValidatorConstraintContext constraintContext, String key, T value) Apply a constraint to the given claim value.JwtConstraint.apply
(ValidatorConstraintContext constraintContext) Apply a constraint to the given JWT.Result.asPromise()
Return this result as a completedPromise
.Returns the result of the JWT validation and a list of any violations.Returns the result of the JWT validation and a list of any violations. -
Uses of NeverThrowsException in org.forgerock.openig.tools.notifications
Modifier and TypeMethodDescriptionNotificationService.addConnectionEventListener
(Consumer<ConnectionEvent> listener) Registers asynchronously a listener that will be notified on connection/disconnection events. -
Uses of NeverThrowsException in org.forgerock.openig.tools.notifications.ws
Modifier and TypeMethodDescriptionNotificationServiceImpl.addConnectionEventListener
(Consumer<ConnectionEvent> listener) NotificationServiceImpl.stop()
-
Uses of NeverThrowsException in org.forgerock.openig.tools.secrets
-
Uses of NeverThrowsException in org.forgerock.openig.tools.session
-
Uses of NeverThrowsException in org.forgerock.openig.uma
-
Uses of NeverThrowsException in org.forgerock.openig.util
Modifier and TypeMethodDescriptionJsonValues.evaluatedAsync
(Bindings bindings) Returns an async function that will evaluate all String nodes. -
Uses of NeverThrowsException in org.forgerock.secrets
Modifier and TypeMethodDescriptionstatic <T> Promise<PeriodicallyRefreshedReferenceAsync<T>,
NeverThrowsException> PeriodicallyRefreshedReferenceAsync.create
(Supplier<Promise<T, NeverThrowsException>> supplier, Clock clock, Duration refreshDuration) Create an InitializedPeriodicallyRefreshedReferenceAsync
.<S extends Secret>
ValidSecretsReference<S,NeverThrowsException> SecretsProvider.createValidOrNamedReference
(Purpose<S> purpose, String name) Creates the valid secrets reference from the given purpose.<S extends Secret>
ValidSecretsReference<S,NeverThrowsException> SecretsProvider.createValidReference
(Purpose<S> purpose) Creates the valid secrets reference from the given purpose.<S extends Secret>
Promise<Stream<S>,NeverThrowsException> SecretsProvider.getNamedOrValidSecrets
(Purpose<S> purpose, String id) If the given id is not null, then this returns the single named secret that corresponds to that stable id (or a stream of valid secrets for the givenpurpose
if no such secret exists), otherwise it returns all valid secrets for the given purpose.<S extends T>
Promise<Stream<S>,NeverThrowsException> Returns all valid secrets for the given purpose from this store.<S extends T>
Promise<Stream<S>,NeverThrowsException> <S extends Secret>
Promise<Stream<S>,NeverThrowsException> SecretsProvider.getValidSecrets
(Purpose<S> purpose) Returns all secrets for the given purpose which have not yet expired.static <T extends Secret>
ValidSecretsReference<T,NeverThrowsException> ValidSecretsReference.valid
(SecretsProvider secretsProvider, Purpose<T> purpose, Clock clock) Creates a reference to the valid secrets for the given purpose using the given secrets provider.static <T extends Secret>
ValidSecretsReference<T,NeverThrowsException> ValidSecretsReference.validOrNamed
(SecretsProvider secretsProvider, Purpose<T> purpose, String name, Clock clock) This creates a reference to either the named secret or all valid secrets for the purpose.Modifier and TypeMethodDescriptionstatic <T> Promise<PeriodicallyRefreshedReferenceAsync<T>,
NeverThrowsException> PeriodicallyRefreshedReferenceAsync.create
(Supplier<Promise<T, NeverThrowsException>> supplier, Clock clock, Duration refreshDuration) Create an InitializedPeriodicallyRefreshedReferenceAsync
. -
Uses of NeverThrowsException in org.forgerock.secrets.jwkset
-
Uses of NeverThrowsException in org.forgerock.secrets.keystore
-
Uses of NeverThrowsException in org.forgerock.secrets.oauth2
Modifier and TypeMethodDescription<S extends GenericSecret>
Promise<Stream<S>,NeverThrowsException> -
Uses of NeverThrowsException in org.forgerock.secrets.propertyresolver
Modifier and TypeMethodDescription<S extends Secret>
Promise<Stream<S>,NeverThrowsException> <S extends Secret>
Promise<Stream<S>,NeverThrowsException> Returns a stream of the active secret for the given purpose.ModifierConstructorDescriptionJwtWrappedPropertyFormat
(SecretPropertyFormat format, ValidSecretsReference<? extends CryptoKey, NeverThrowsException> validSecretsReference) Constructs a newJwtWrappedPropertyFormat
. -
Uses of NeverThrowsException in org.forgerock.util.promise
Modifier and TypeMethodDescriptionstatic Promise<Void,
NeverThrowsException> Promises.allDone
(Collection<Promise<?, ?>> promises) Returns aPromise
which will be completed successfully once all the provided promises have completed (successfully or not, including runtime exceptions).static <V> Promise<V,
NeverThrowsException> Promises.allDone
(Collection<Promise<?, ?>> promises, V context) Returns aPromise
which will be completed successfully once all the provided promises have completed (successfully or not, including runtime exceptions), returning back thecontext
parameter.static <V,
E extends Exception>
Function<NeverThrowsException,V, E> NeverThrowsException.neverThrown()
Utility method returning an empty function, whose goal is to ease the transformation of aPromise
type.static <V,
E extends Exception>
AsyncFunction<NeverThrowsException,V, E> NeverThrowsException.neverThrownAsync()
Utility method returning an empty function, whose goal is to ease the transformation of aPromise
type.