Uses of Record Class
org.forgerock.secrets.credentials.PrincipalAndSecret
Packages that use PrincipalAndSecret
-
Uses of PrincipalAndSecret in org.forgerock.http.handler
Methods in org.forgerock.http.handler that return types with arguments of type PrincipalAndSecretModifier and TypeMethodDescriptionHttpClientHandler.ProxyInfo.getCredentials()Returns theSuppliercontaining the username and password to use when authenticating to the proxy.Method parameters in org.forgerock.http.handler with type arguments of type PrincipalAndSecretModifier and TypeMethodDescriptionstatic HttpClientHandler.ProxyInfoHttpClientHandler.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
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 thePrincipalAndSecretasynchronously.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 ofCredentialPairfrom 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 ofValidCredentialPairsfrom a reference to a set of secrets that each contain a credential pair.