Uses of Record Class
org.forgerock.secrets.credentials.PrincipalAndSecret
Packages that use PrincipalAndSecret
Package
Description
Contains secret credential related API objects.
-
Uses of PrincipalAndSecret in org.forgerock.secrets.credentials
Methods in org.forgerock.secrets.credentials that return PrincipalAndSecretMethods in org.forgerock.secrets.credentials that return types with arguments of type PrincipalAndSecretModifier and TypeMethodDescriptionValidCredentialPairs.get()
Get the valid credential pairs.CredentialPair.getAsync()
Gets thePrincipalAndSecret
asynchronously.ValidCredentialPairs.getAsync()
Gets the valid credential pairs asynchronously.Method parameters in org.forgerock.secrets.credentials with type arguments of type PrincipalAndSecretModifier and TypeMethodDescriptionstatic <T extends Secret>
CredentialPair<T>CredentialPair.credentialPair
(SecretReference<T> secretReference, Function<T, PrincipalAndSecret<T>> mapper) Factory method to create a new instance ofCredentialPair
from a reference to a secret containing both the principal and secret.static <S extends Secret,
E extends Exception>
ValidCredentialPairs<S,E> ValidCredentialPairs.credentialPairs
(ValidSecretsReference<S, E> validSecrets, Function<S, PrincipalAndSecret<S>> mapper) Factory method to create a new instance ofValidCredentialPairs
from a reference to a set of secrets that each contain a credential pair.