Package org.apache.hc.client5.http.auth
Client HTTP authentication APIs.
-
Interface Summary Interface Description AuthCache This interface represents an cache ofAuthScheme
state information that can be re-used for preemptive authentication by subsequent requests.AuthScheme This interface represents an abstract challenge-response oriented authentication scheme.AuthSchemeFactory Factory forAuthScheme
implementations.Credentials This interface represents a set of credentials consisting of a security principal and a secret (password) that can be used to establish user identityCredentialsProvider Provider of authentication credentials.CredentialsStore Abstract store of authentication credentials. -
Class Summary Class Description AuthChallenge This class represents an authentication challenge consisting of a auth scheme and either a single parameter or a list of name / value pairs.AuthExchange This class represents the actual state of authentication handshake including the currentAuthScheme
used for request authorization as well as a collection of backup authentication options if available.AuthScope AuthScope
represents an authentication scope consisting of an application protocol, a host name, a port number, a realm name and an authentication scheme name.BasicUserPrincipal Basic username based principal representation.BearerToken Opaque tokenCredentials
usually representing a set of claims, often encrypted or signed.KerberosConfig Deprecated. Do not use.KerberosConfig.Builder KerberosCredentials Deprecated. Do not use.NTCredentials Deprecated. Do not use.NTUserPrincipal Microsoft Windows specific user principal implementation.StandardAuthScheme Authentication schemes by their names supported by the HttpClient.UsernamePasswordCredentials SimpleCredentials
representation based on a user name / password pair. -
Enum Summary Enum Description AuthExchange.State ChallengeType Challenge type (TARGET or PROXY)KerberosConfig.Option -
Exception Summary Exception Description AuthenticationException Signals a failure in authentication processInvalidCredentialsException Authentication credentials required to respond to a authentication challenge are invalidMalformedChallengeException Signals that authentication challenge is in some way invalid or illegal in the given context -
Annotation Types Summary Annotation Type Description AuthStateCacheable Indicates that the state of anAuthScheme
can be cached and re-used for preemptive authentication by subsequent requests.