Package | Description |
---|---|
org.forgerock.openig.secrets |
Provides the Common Secrets API for accessing secrets of various kinds.
|
org.forgerock.secrets |
Provides a unified API for accessing secrets of various kinds.
|
Modifier and Type | Class and Description |
---|---|
class |
SecretsServiceProvider
Adapter class to present an instance of
SecretsService as a SecretsProvider . |
Modifier and Type | Method and Description |
---|---|
DefaultSecretsService.Builder |
DefaultSecretsService.Builder.withSecretsProvider(SecretsProvider provider)
Configure this service with the given
provider . |
Constructor and Description |
---|
DefaultSecretsService(SecretsProvider provider,
Clock clock)
Constructs a new
DefaultSecretsService with a given provider. |
Modifier and Type | Method and Description |
---|---|
<T extends Secret> |
SecretsProvider.setActiveStore(SecretStore<? super T> store,
Purpose<? extends T>... purposes)
Sets the active store to use for the given purpose.
|
SecretsProvider |
SecretsProvider.setDefaultStores(SecretStore<?> activeStore,
SecretStore<?>... defaultStores)
Sets the default store(s) to use if there is no specific store configured for a particular purpose.
|
Constructor and Description |
---|
SecretReference(SecretsProvider provider,
Purpose<T> purpose)
Constructs the secret reference from the given provider and purpose using the system clock to check for expiry.
|
SecretReference(SecretsProvider provider,
Purpose<T> purpose,
Clock clock)
Constructs the secret reference from the given provider and purpose.
|
Copyright 2011-2017 ForgeRock AS.