Package org.forgerock.openam.secrets
Class SecretsReferenceProvider
java.lang.Object
org.forgerock.openam.secrets.SecretsReferenceProvider
A class that can provide secret references for a given purpose.
- Since:
- AM 6.5.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends Secret>
SecretReference<T>Get the reference for the secrets that fulfil the purpose.
-
Constructor Details
-
SecretsReferenceProvider
-
-
Method Details
-
get
public <T extends Secret> SecretReference<T> get(Purpose<T> purpose) throws UnavailableSecretReferenceException Get the reference for the secrets that fulfil the purpose.- Type Parameters:
T
- The type of the secret.- Parameters:
purpose
- The purpose.- Returns:
- The reference.
- Throws:
UnavailableSecretReferenceException
-