Uses of Class
org.forgerock.secrets.credentials.CredentialPair
-
Packages that use CredentialPair Package Description org.forgerock.secrets.credentials Contains secret credential related API objects. -
-
Uses of CredentialPair in org.forgerock.secrets.credentials
Methods in org.forgerock.secrets.credentials that return CredentialPair Modifier and Type Method Description static <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.static <T extends Secret>
CredentialPair<T>CredentialPair. fixedPrincipalCredentialPair(String principal, SecretReference<T> secretReference)
Factory method to create a new instance ofCredentialPair
with a static principal and a dynamic principal secret.
-