Uses of Record Class
org.forgerock.secrets.credentials.PrincipalAndSecret
-
Uses of PrincipalAndSecret in org.forgerock.http.handler
Modifier and TypeMethodDescriptionHttpClientHandler.ProxyInfo.getCredentials()
Returns theSupplier
containing the username and password to use when authenticating to the proxy.Modifier and TypeMethodDescriptionstatic HttpClientHandler.ProxyInfo
HttpClientHandler.ProxyInfo.proxyInfo
(URI proxyUri, Supplier<PrincipalAndSecret<GenericSecret>> supplier) Creates an instance of ProxyInfo for a proxy that does not require authentication. -
Uses of PrincipalAndSecret in org.forgerock.secrets.credentials
Modifier and TypeMethodDescriptionValidCredentialPairs.get()
Get the valid credential pairs.CredentialPair.getAsync()
Gets thePrincipalAndSecret
asynchronously.ValidCredentialPairs.getAsync()
Gets the valid credential pairs asynchronously.Modifier 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.