Uses of Class
org.forgerock.secrets.GenericSecret
-
Packages that use GenericSecret Package Description org.forgerock.http.filter CoreFilter
implementations.org.forgerock.oauth.clients.oauth2 OAuth 2.0 ForgeRock Client Implementation.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.org.forgerock.secrets.propertyresolver Provides aSecretStore
implementation that loads secrets from a Common ConfigurationPropertyResolver
and then decodes it with aSecretPropertyFormat
. -
-
Uses of GenericSecret in org.forgerock.http.filter
Method parameters in org.forgerock.http.filter with type arguments of type GenericSecret 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 GenericSecret in org.forgerock.oauth.clients.oauth2
Methods in org.forgerock.oauth.clients.oauth2 that return types with arguments of type GenericSecret Modifier and Type Method Description SecretReference<GenericSecret>
OAuth2ClientConfiguration. getClientSecretReference()
Returns a reference to the client secret.Method parameters in org.forgerock.oauth.clients.oauth2 with type arguments of type GenericSecret Modifier and Type Method Description T
OAuth2ClientConfiguration.Builder. withClientSecret(SecretReference<GenericSecret> clientSecret)
Set the clientSecret. -
Uses of GenericSecret in org.forgerock.secrets
Fields in org.forgerock.secrets with type parameters of type GenericSecret Modifier and Type Field Description static Purpose<GenericSecret>
Purpose. PASSWORD
Indicates a secret intended to be used as a password for authentication to some service.Methods in org.forgerock.secrets that return GenericSecret Modifier and Type Method Description static GenericSecret
GenericSecret. password(char[] password)
A helper utility for constructing a Generic Secret from a password that never expires.static GenericSecret
GenericSecret. password(String id, char[] password)
A helper utility for constructing a Generic Secret from a password that never expires.static GenericSecret
GenericSecret. password(String id, char[] password, Clock clock)
A helper utility for constructing a Generic Secret from a password with a default expiry time. -
Uses of GenericSecret in org.forgerock.secrets.gcpkms
Constructor parameters in org.forgerock.secrets.gcpkms with type arguments of type GenericSecret Constructor Description SecretsApiBearerTokenCredentials(Function<URI,SecretReference<GenericSecret>> bearerTokenLookup)
Initialises the credentials with the given mapping from URIs to bearer token references.SecretsApiBearerTokenCredentials(SecretReference<GenericSecret> bearerToken)
Initialises the credentials with a single bearer token to use for all URIs. -
Uses of GenericSecret in org.forgerock.secrets.keystore
Constructor parameters in org.forgerock.secrets.keystore with type arguments of type GenericSecret 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 GenericSecret in org.forgerock.secrets.propertyresolver
Constructor parameters in org.forgerock.secrets.propertyresolver with type arguments of type GenericSecret Constructor Description PemPropertyFormat(SecretsProvider secretsProvider, Purpose<GenericSecret> decryptionPasswordPurpose)
Initializes the property format with the given secrets provider and purpose for decrypting password-encrypted PEM files.
-