Uses of Class
org.forgerock.secrets.credentials.CredentialPair
Packages that use CredentialPair
Package
Description
Contains secret credential related API objects.
-
Uses of CredentialPair in org.forgerock.secrets.credentials
Methods in org.forgerock.secrets.credentials that return CredentialPairModifier 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 ofCredentialPairfrom 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 ofCredentialPairwith a static principal and a dynamic principal secret.