Uses of Class
org.forgerock.util.promise.NeverThrowsException
Package
Description
Provides an API for the traversal and manipulation of JSON object model structures in Java.
Common utility classes for monitoring.
Classes and interfaces for core types including connections, entries, and
attributes.
APIs for implementing REST to LDAP gateways.
This package contains
Filter
to authenticate and authorize LDAP connections.Provides a unified API for accessing secrets of various kinds.
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.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.Contains the implementation for the Directory Server connection handler that is responsible for interacting with
clients using HTTP.
-
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.monitoring.http
Modifier and TypeMethodDescriptionPromise<org.forgerock.http.protocol.Response,
NeverThrowsException> PrometheusHandler.handle
(org.forgerock.services.context.Context context, org.forgerock.http.protocol.Request request) -
Uses of NeverThrowsException in org.forgerock.opendj.ldap
Modifier and TypeMethodDescriptionstatic <M,
N> Function<M, N, NeverThrowsException> Functions.constant
(N constant) Creates a function that returns constant value for any input.static <V> Promise<V,
NeverThrowsException> Utils.toPromiseNoError
(Single<V> single) Transforms a Single into a Promise which do not throws exceptions.ModifierConstructorDescriptionConsistentHashMap
(Function<Object, Integer, NeverThrowsException> hashFunction) Creates a new consistent hash map which will hash keys using the provided hash function. -
Uses of NeverThrowsException in org.forgerock.opendj.rest2ldap
Modifier and TypeMethodDescriptionPromise<org.forgerock.http.protocol.Response,
NeverThrowsException> ErrorLoggerFilter.filter
(org.forgerock.services.context.Context context, org.forgerock.http.protocol.Request request, org.forgerock.http.Handler next) Modifier and TypeMethodDescriptionprotected ConditionalFilters.ConditionalFilter
Rest2LdapHttpApplication.newBasicAuthenticationFilter
(AuthenticationStrategy authenticationStrategy, Function<org.forgerock.http.protocol.Headers, Pair<String, String>, NeverThrowsException> credentialsExtractor) Gets aFilter
in charge of performing the HTTP-Basic Authentication. -
Uses of NeverThrowsException in org.forgerock.opendj.rest2ldap.authz
Modifier and TypeMethodDescription<S extends Secret>
Promise<Stream<S>,NeverThrowsException> static Function<org.forgerock.http.protocol.Headers,
Pair<String, String>, NeverThrowsException> CredentialExtractors.httpBasicExtractor()
Creates a function which extracts the user's credentials from the standard HTTP Basic header.static Function<org.forgerock.http.protocol.Headers,
Pair<String, String>, NeverThrowsException> CredentialExtractors.newCustomHeaderExtractor
(String customHeaderUsername, String customHeaderPassword) Creates a function which extracts the user's credentials from custom HTTP header in addition of the standard HTTP Basic one.Modifier and TypeMethodDescriptionAuthorization.newConditionalHttpBasicAuthenticationFilter
(AuthenticationStrategy authenticationStrategy, Function<org.forgerock.http.protocol.Headers, Pair<String, String>, NeverThrowsException> credentialsExtractor) Creates a newConditionalFilters.ConditionalFilter
performing authentication. -
Uses of NeverThrowsException in org.forgerock.secrets
Modifier and TypeMethodDescription<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. -
Uses of NeverThrowsException in org.forgerock.secrets.keystore
-
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. -
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 of 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 of 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. -
Uses of NeverThrowsException in org.opends.server.protocols.http
Modifier and TypeMethodDescriptionPromise<org.forgerock.http.protocol.Response,
NeverThrowsException> CommonAuditHttpAccessAuditFilter.filter
(org.forgerock.services.context.Context context, org.forgerock.http.protocol.Request request, org.forgerock.http.Handler next)