Uses of Class
org.forgerock.secrets.SecretReference
-
Packages that use SecretReference Package Description org.forgerock.http.filter CoreFilter
implementations.org.forgerock.oauth.clients.oauth2 OAuth 2.0 ForgeRock Client Implementation.org.forgerock.openam.secrets The AM supporting classes for centrally configuring secrets.org.forgerock.secrets Provides a unified API for accessing secrets of various kinds.org.forgerock.secrets.gcpkms A secret store implementation that can retrieve keys from a Google Cloud Platform Key Management Service.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. -
-
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.oauth.clients.oauth2
Methods in org.forgerock.oauth.clients.oauth2 that return SecretReference Modifier and Type Method Description SecretReference<GenericSecret>
OAuth2ClientConfiguration. getClientSecretReference()
Returns a reference to the client secret.Methods in org.forgerock.oauth.clients.oauth2 with parameters of type SecretReference Modifier and Type Method Description T
OAuth2ClientConfiguration.Builder. withClientSecret(SecretReference<GenericSecret> clientSecret)
Set the clientSecret. -
Uses of SecretReference in org.forgerock.openam.secrets
Methods in org.forgerock.openam.secrets that return SecretReference Modifier and Type Method Description <T extends Secret>
SecretReference<T>SecretsReferenceProvider. get(Purpose<T> purpose)
Get the reference for the secrets that fulfil the purpose. -
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.gcpkms
Constructors in org.forgerock.secrets.gcpkms with parameters of type SecretReference Constructor Description SecretsApiBearerTokenCredentials(SecretReference<GenericSecret> bearerToken)
Initialises the credentials with a single bearer token to use for all URIs.Constructor parameters in org.forgerock.secrets.gcpkms with type arguments of type SecretReference Constructor Description SecretsApiBearerTokenCredentials(Function<URI,SecretReference<GenericSecret>> bearerTokenLookup)
Initialises the credentials with the given mapping from URIs to bearer token references. -
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.
-