Uses of Record Class
org.forgerock.secrets.credentials.PrincipalAndSecret
Package
Description
Contains secret credential related API objects.
-
Uses of PrincipalAndSecret in org.forgerock.secrets.credentials
Modifier and TypeMethodDescriptionCredentialPair.getAsync()
Gets thePrincipalAndSecret
asynchronously.Modifier and TypeMethodDescriptionstatic <T extends Secret>
CredentialPair<T>CredentialPair.credentialPair
(SecretReference<T> secretReference, Function<T, PrincipalAndSecret<T>, NoSuchSecretException> mapper) Factory method to create a new instance ofCredentialPair
from a reference to a secret containing both the principal and secret.