Uses of Class
org.forgerock.secrets.credentials.CredentialPair
Packages that use CredentialPair
-
Uses of CredentialPair in org.forgerock.http.filter
Methods in org.forgerock.http.filter with parameters of type CredentialPairModifier and TypeMethodDescriptionstatic FilterFilters.newHttpBasicAuthenticationFilter(CredentialPair<GenericSecret> credentialPair) Creates an authenticationFilterthat puts a Basic Authorization header in the request.static FilterFilters.newHttpBasicAuthenticationFilter(CredentialPair<GenericSecret> credentialPair, Charset charset) Creates an authenticationFilterthat puts a Basic Authorization header in the request.static FilterFilters.newUrlEncodedHttpBasicAuthFilter(CredentialPair<GenericSecret> credentialPair) Creates an authenticationFilterthat put a Basic Authorization header in the request. -
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.