Uses of Interface
org.apache.hc.client5.http.auth.Credentials
Packages that use Credentials
Package
Description
Client HTTP authentication APIs.
Simple facade APIs for HttpClient based on the concept of
a fluent interface.
Standard and common HTTP authentication schemes.
Classic HTTP client API implementation that supports HTTP/1.1 transport
only.
-
Uses of Credentials in org.apache.hc.client5.http.auth
Classes in org.apache.hc.client5.http.auth that implement CredentialsModifier and TypeClassDescriptionclassKerberos specificCredentialsrepresentation based onGSSCredential.classMicrosoft Windows specificCredentialsrepresentation that includes Windows specific attributes such as name of the domain the user belongs to.classSimpleCredentialsrepresentation based on a user name / password pair.Methods in org.apache.hc.client5.http.auth that return CredentialsModifier and TypeMethodDescriptionCredentialsProvider.getCredentials(AuthScope authScope, org.apache.hc.core5.http.protocol.HttpContext context) Returnscredentialsfor the given authentication scope, if available.Methods in org.apache.hc.client5.http.auth with parameters of type CredentialsModifier and TypeMethodDescriptionvoidCredentialsStore.setCredentials(AuthScope authScope, Credentials credentials) Sets thecredentialsfor the given authentication scope. -
Uses of Credentials in org.apache.hc.client5.http.fluent
Methods in org.apache.hc.client5.http.fluent with parameters of type CredentialsModifier and TypeMethodDescriptionExecutor.auth(String host, Credentials credentials) Executor.auth(AuthScope authScope, Credentials credentials) Executor.auth(org.apache.hc.core5.http.HttpHost host, Credentials credentials) -
Uses of Credentials in org.apache.hc.client5.http.impl.auth
Fields in org.apache.hc.client5.http.impl.auth with type parameters of type CredentialsModifier and TypeFieldDescriptionprivate final ConcurrentHashMap<AuthScope,Credentials> BasicCredentialsProvider.credMapMethods in org.apache.hc.client5.http.impl.auth that return CredentialsModifier and TypeMethodDescriptionBasicCredentialsProvider.getCredentials(AuthScope authScope, org.apache.hc.core5.http.protocol.HttpContext httpContext) SystemDefaultCredentialsProvider.getCredentials(AuthScope authScope, org.apache.hc.core5.http.protocol.HttpContext context) private static CredentialsBasicCredentialsProvider.matchCredentials(Map<AuthScope, Credentials> map, AuthScope authScope) Find matchingcredentialsfor the given authentication scope.Methods in org.apache.hc.client5.http.impl.auth with parameters of type CredentialsModifier and TypeMethodDescriptionvoidBasicScheme.initPreemptive(Credentials credentials) voidDigestScheme.initPreemptive(Credentials credentials, String cnonce, String realm) voidBasicCredentialsProvider.setCredentials(AuthScope authScope, Credentials credentials) voidSystemDefaultCredentialsProvider.setCredentials(AuthScope authScope, Credentials credentials) Method parameters in org.apache.hc.client5.http.impl.auth with type arguments of type CredentialsModifier and TypeMethodDescriptionprivate static CredentialsBasicCredentialsProvider.matchCredentials(Map<AuthScope, Credentials> map, AuthScope authScope) Find matchingcredentialsfor the given authentication scope. -
Uses of Credentials in org.apache.hc.client5.http.impl.classic
Methods in org.apache.hc.client5.http.impl.classic with parameters of type CredentialsModifier and TypeMethodDescriptionProxyClient.tunnel(org.apache.hc.core5.http.HttpHost proxy, org.apache.hc.core5.http.HttpHost target, Credentials credentials)