Package | Description |
---|---|
org.forgerock.openig.heap |
Manages collections or "heaps" of associated objects, initialized from
declarative configuration artifacts.
|
org.forgerock.openig.secrets |
Provides the Common Secrets API for accessing secrets of various kinds.
|
Modifier and Type | Method and Description |
---|---|
SecretsService |
GenericHeaplet.getSecretService()
Returns the
SecretsService from the heap. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultSecretsService
Default Secret Service implementation.
|
Modifier and Type | Method and Description |
---|---|
static String |
SecretsUtils.getPasswordSecretIdOrPassword(SecretsService secretsService,
JsonValue secretIdNode,
JsonValue deprecatedNode,
org.slf4j.Logger logger)
Retrieve a required password value from the given
secretIdNode and deprecatedNode nodes. |
static String |
SecretsUtils.getPasswordSecretIdOrPassword(SecretsService secretsService,
JsonValue secretIdNode,
JsonValue deprecatedNode,
org.slf4j.Logger logger,
boolean isRequired)
Retrieve a password value from the given
secretIdNode and deprecatedNode nodes (can be an
optional value). |
static byte[] |
SecretsUtils.getPasswordSecretIdOrPasswordAsByte(SecretsService secretsService,
JsonValue secretIdNode,
JsonValue deprecatedNode,
org.slf4j.Logger logger)
Retrieve a required shared secret value (as
byte[] ) from the given secretIdNode
and deprecatedNode nodes. |
static <S extends CryptoKey> |
SecretsUtils.retrieveCryptoKeyFromSecretId(SecretsService secretsService,
JsonValue secretIdNode,
Class<S> type)
Retrieves a
CryptoKey from the given node. |
static <S extends CryptoKey> |
SecretsUtils.retrieveKeyFromSecretId(SecretsService secretsService,
JsonValue secretIdNode,
Class<S> type)
Retrieves a
Key from the given node. |
static SecretReference<GenericSecret> |
SecretsUtils.retrievePasswordAsReference(SecretsService secretsService,
JsonValue secretIdNode,
JsonValue deprecatedNode,
Clock clock)
Retrieve a required password as a
SecretReference from the given secretIdNode
and deprecatedNode nodes. |
DefaultSecretsService.Builder |
DefaultSecretsService.Builder.withSecretsService(SecretsService service)
Configure this service with the given parent secrets
service . |
Constructor and Description |
---|
SecretsServiceProvider(SecretsService secretsService)
Constructs an adapter around SecretsService so we can use it as a SecretProvider.
|
Copyright 2011-2017 ForgeRock AS.