Uses of Class
org.forgerock.secrets.SecretReference
-
Packages that use SecretReference Package Description org.forgerock.http.filter CoreFilter
implementations.org.forgerock.http.oauth2 This package provides APIs for OAuth 2.0 services implementations.org.forgerock.json.jose.jws Classes and interfaces for JWT signing and JWS'.org.forgerock.openig.filter Filters the requests and/or responses of HTTP.org.forgerock.openig.filter.oauth2.client.authentication Collection of heaplets supporting OAuth2 client authentication Filters.org.forgerock.openig.proxy Contains proxy related heaplets.org.forgerock.openig.secrets Provides the Common Secrets API for accessing secrets of various kinds.org.forgerock.openig.tools.am Access Management Server.org.forgerock.openig.tools.jwt.factory Provides JWT capabilities to the Identity Gateway.org.forgerock.openig.util Miscellaneous utility classes.org.forgerock.secrets Provides a unified API for accessing secrets of various kinds.org.forgerock.secrets.keystore Implementations ofSecretStore
for accessing keys stored in Java KeyStores, such as PKCS#11 Hardware Security Modules (HSMs) and PKCS#12 file-based encrypted key stores.org.forgerock.secrets.oauth2 A Secrets API backend that can obtain OAuth 2 access tokens from a token endpoint, along with a collection of grant type handlers. -
-
Uses of SecretReference in org.forgerock.http.filter
Methods in org.forgerock.http.filter with parameters of type SecretReference Modifier and Type Method Description static Filter
Filters. newBearerTokenAuthFilter(SecretReference<GenericSecret> tokenReference)
Creates an authenticationFilter
that puts a Bearer Authorization header in the request.static Filter
Filters. newBearerTokenAuthFilterWithoutRetry(SecretReference<GenericSecret> tokenReference)
Creates an authenticationFilter
that puts a Bearer Authorization header in the request.static Filter
Filters. newHttpBasicAuthenticationFilter(String username, SecretReference<GenericSecret> password)
Creates an authenticationFilter
that put a Basic Authorization header in the request.static Filter
Filters. newHttpBasicAuthenticationFilter(String username, SecretReference<GenericSecret> password, Charset charset)
Creates an authenticationFilter
that put a Basic Authorization header in the request.static Filter
Filters. newUrlEncodedHttpBasicAuthFilter(String username, SecretReference<GenericSecret> password)
Creates an authenticationFilter
that put a Basic Authorization header in the request. -
Uses of SecretReference in org.forgerock.http.oauth2
Methods in org.forgerock.http.oauth2 with parameters of type SecretReference Modifier and Type Method Description EncryptedPrivateKeyJwtClientAuthenticationFilter.Builder
EncryptedPrivateKeyJwtClientAuthenticationFilter.Builder. withEncryptionSecretReference(SecretReference<DataEncryptionKey> secretReference)
SetsSecretReference
to use as the encryption key.T
PrivateKeyJwtClientAuthenticationFilter.Builder. withSigningSecretReference(SecretReference<SigningKey> secretReference)
SetsSecretReference
to use as the signing key.Constructors in org.forgerock.http.oauth2 with parameters of type SecretReference Constructor Description ClientSecretBasicAuthenticationFilter(String clientId, SecretReference<GenericSecret> secretReference)
Deprecated.Creates and instance of ClientSecretBasicAuthenticationFilter.ClientSecretPostAuthenticationFilter(String clientId, SecretReference<GenericSecret> secretReference)
Creates an instance of this class. -
Uses of SecretReference in org.forgerock.json.jose.jws
Methods in org.forgerock.json.jose.jws with parameters of type SecretReference Modifier and Type Method Description Promise<SigningHandler,NoSuchSecretException>
SigningManager. newSigningHandler(SecretReference<SigningKey> secretReference)
Constructs a new SigningHandler configured for signing with the provided secret reference. -
Uses of SecretReference in org.forgerock.openig.filter
Methods in org.forgerock.openig.filter with parameters of type SecretReference Modifier and Type Method Description void
CryptoHeaderFilter. setDataEncryptionKeyReference(SecretReference<DataEncryptionKey> dataEncryptionKeyReference)
Deprecated.Sets the encryption key used to encrypt headers. -
Uses of SecretReference in org.forgerock.openig.filter.oauth2.client.authentication
Methods in org.forgerock.openig.filter.oauth2.client.authentication with parameters of type SecretReference Modifier and Type Method Description protected Filter
ClientSecretBasicAuthenticationFilterHeaplet. createFilter(String clientId, SecretReference<GenericSecret> clientSecretRef)
protected Filter
ClientSecretPostAuthenticationFilterHeaplet. createFilter(String clientId, SecretReference<GenericSecret> clientSecretRef)
-
Uses of SecretReference in org.forgerock.openig.proxy
Constructors in org.forgerock.openig.proxy with parameters of type SecretReference Constructor Description CustomProxyOptions(URI uri, String username, SecretReference<GenericSecret> passwordReference)
-
Uses of SecretReference in org.forgerock.openig.secrets
Methods in org.forgerock.openig.secrets that return SecretReference Modifier and Type Method Description <S extends Secret>
SecretReference<S>DefaultSecretsService. createActiveReference(Purpose<S> purpose)
Deprecated.<S extends Secret>
SecretReference<S>SecretsService. createActiveReference(Purpose<S> purpose)
Create aSecretReference
for the givenPurpose
.<S extends Secret>
SecretReference<S>SecretsServiceProvider. createActiveReference(Purpose<S> purpose)
<S extends Secret>
SecretReference<S>DefaultSecretsService. createNamedReference(Purpose<S> purpose, String name)
Deprecated.<S extends Secret>
SecretReference<S>SecretsService. createNamedReference(Purpose<S> purpose, String name)
Creates a reference to a secret with the given name (stable id) for the given purpose.<S extends Secret>
SecretReference<S>SecretsServiceProvider. createNamedReference(Purpose<S> purpose, String name)
static SecretReference<GenericSecret>
SecretsUtils. retrievePasswordAsReference(SecretsProvider secretsProvider, JsonValue secretIdNode, JsonValue deprecatedNode, org.slf4j.Logger logger)
Retrieve a required password as aSecretReference
from the givensecretIdNode
anddeprecatedNode
nodes.static SecretReference<GenericSecret>
SecretsUtils. retrievePasswordAsReference(SecretsProvider secretsProvider, JsonValue secretIdNode, JsonValue deprecatedNode, org.slf4j.Logger logger, boolean isRequired)
-
Uses of SecretReference in org.forgerock.openig.tools.am
Methods in org.forgerock.openig.tools.am with parameters of type SecretReference Modifier and Type Method Description static AmService.Discovery
AmService. discovery(URI baseUri, Realm realm, String cookieName, Version versionHint, String agentId, SecretReference<GenericSecret> agentPassword, Handler amHandler)
Create an AM Discovery object which will get information from AM upon building. -
Uses of SecretReference in org.forgerock.openig.tools.jwt.factory
Constructors in org.forgerock.openig.tools.jwt.factory with parameters of type SecretReference Constructor Description EncryptedJwtFactory(JweAlgorithm encryptionAlgorithm, EncryptionMethod encryptionMethod, SecretReference<DataEncryptionKey> encryptionKeyReference)
SignedJwtFactory(SigningManager signingManager, SecretReference<SigningKey> secretReference, JwsAlgorithm signingAlgorithm)
SignedThenEncryptedJwtFactory(SignedJwtFactory signedJwtFactory, JweAlgorithm encryptionAlgorithm, EncryptionMethod encryptionMethod, SecretReference<DataEncryptionKey> encryptionKeyReference)
-
Uses of SecretReference in org.forgerock.openig.util
Methods in org.forgerock.openig.util that return types with arguments of type SecretReference Modifier and Type Method Description static Function<JsonValue,SecretReference<GenericSecret>,JsonValueException>
JsonValues. constantSecretReference()
Returns aconstant(Secret)
from aGenericSecret
attribute value.static <S extends Secret>
Function<JsonValue,SecretReference<S>,JsonValueException>JsonValues. secretReferenceOf(Function<JsonValue,Purpose<S>,JsonValueException> purposeTransformer, SecretsProvider secretsProvider)
Returns a function that returns aSecretReference
for thePurpose
represented by the givenString
value label and known to the suppliedSecretsProvider
. -
Uses of SecretReference in org.forgerock.secrets
Methods in org.forgerock.secrets that return SecretReference Modifier and Type Method Description static <T extends Secret>
SecretReference<T>SecretReference. active(SecretsProvider secretsProvider, Purpose<T> purpose, Clock clock)
Creates a reference to the active secret for the given purpose using the given secrets provider.static <T extends Secret>
SecretReference<T>SecretReference. constant(T secret)
Create a constantSecretReference
for the given secret, that will never expire.<S extends Secret>
SecretReference<S>SecretsProvider. createActiveReference(Purpose<S> purpose)
Creates the secret reference from the given purpose.<S extends Secret>
SecretReference<S>SecretsProvider. createNamedReference(Purpose<S> purpose, String name)
Creates a reference to a secret with the given name (stable id) for the given purpose.static <T extends Secret>
SecretReference<T>SecretReference. named(SecretsProvider secretsProvider, Purpose<T> purpose, String name, Clock clock)
Creates a reference to a named secret using the given secrets provider. -
Uses of SecretReference in org.forgerock.secrets.keystore
Constructors in org.forgerock.secrets.keystore with parameters of type SecretReference Constructor Description KeyStoreSecretStore(Function<char[],KeyStore,KeyStoreException> keyStoreLoader, SecretReference<GenericSecret> keyStorePassword)
Initialises the keystore using the same password for the keystore and all keys and default configuration options.KeyStoreSecretStore(Function<char[],KeyStore,KeyStoreException> keyStoreLoader, SecretReference<GenericSecret> keyStorePassword, SecretReference<GenericSecret> keyEntryPassword, Options options, KeyStoreSecretStore.StableIdProvider stableIdProvider)
Initialises the key store.KeyStoreSecretStore(Function<char[],KeyStore,KeyStoreException> keyStoreLoader, SecretReference<GenericSecret> keyStorePassword, Options options)
Initialises the keystore using the same password for the keystore and all keys. -
Uses of SecretReference in org.forgerock.secrets.oauth2
Methods in org.forgerock.secrets.oauth2 with parameters of type SecretReference Modifier and Type Method Description AccessTokenSecretStore.Builder
AccessTokenSecretStore.Builder. withClientSecretBasicAuth(String clientId, SecretReference<GenericSecret> clientSecretRef)
Configures the token store to supply client credentials via HTTP Basic Authentication.AccessTokenSecretStore.Builder
AccessTokenSecretStore.Builder. withClientSecretPostAuth(String clientId, SecretReference<GenericSecret> clientSecretRef)
Configures the token store to supply client credentials via client_secret_post method.Constructors in org.forgerock.secrets.oauth2 with parameters of type SecretReference Constructor Description JwtBearerGrantTypeHandler(SecretReference<GenericSecret> jwtReference)
Constructs the handler with the given source of JWTs.JwtBearerGrantTypeHandler(SecretReference<GenericSecret> jwtReference, String clientId, Collection<String> scope)
Constructs the handler with the given source of JWTs, for the given client and scope.JwtBearerGrantTypeHandler(SecretReference<GenericSecret> jwtReference, Collection<String> scope)
Constructs the handler with the given source of JWTs, for the given scope.ResourceOwnerPasswordGrantTypeHandler(String clientId, String username, SecretReference<GenericSecret> password)
Initialises the grant type handler with the given credentials and the default scope for this client.ResourceOwnerPasswordGrantTypeHandler(String clientId, String username, SecretReference<GenericSecret> password, Collection<String> scope)
Initialises the grant type handler with the given credentials.
-