Uses of Class
org.apache.hc.client5.http.auth.AuthenticationException
Packages that use AuthenticationException
Package
Description
Client HTTP authentication APIs.
Standard and common HTTP authentication schemes.
-
Uses of AuthenticationException in org.apache.hc.client5.http.auth
Subclasses of AuthenticationException in org.apache.hc.client5.http.authModifier and TypeClassDescriptionclassAuthentication credentials required to respond to a authentication challenge are invalidMethods in org.apache.hc.client5.http.auth that throw AuthenticationExceptionModifier and TypeMethodDescriptionAuthScheme.generateAuthResponse(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context) Generates an authorization response based on the current state.booleanAuthScheme.isResponseReady(org.apache.hc.core5.http.HttpHost host, CredentialsProvider credentialsProvider, org.apache.hc.core5.http.protocol.HttpContext context) Determines whether or not an authorization response can be generated based on the actual authentication state.default voidAuthScheme.processChallenge(org.apache.hc.core5.http.HttpHost host, boolean challenged, AuthChallenge authChallenge, org.apache.hc.core5.http.protocol.HttpContext context) Processes the given auth challenge. -
Uses of AuthenticationException in org.apache.hc.client5.http.impl
Subclasses of AuthenticationException in org.apache.hc.client5.http.implModifier and TypeClassDescriptionclassRepresents an exception that occurs during SCRAM (Salted Challenge Response Authentication Mechanism) authentication. -
Uses of AuthenticationException in org.apache.hc.client5.http.impl.auth
Subclasses of AuthenticationException in org.apache.hc.client5.http.impl.authMethods in org.apache.hc.client5.http.impl.auth that throw AuthenticationExceptionModifier and TypeMethodDescriptionBasicScheme.generateAuthResponse(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context) BearerScheme.generateAuthResponse(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context) DigestScheme.generateAuthResponse(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context) GGSSchemeBase.generateAuthResponse(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context) Deprecated.NTLMScheme.generateAuthResponse(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context) Deprecated.ScramScheme.generateAuthResponse(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context) booleanAuthenticationHandler.handleResponse(org.apache.hc.core5.http.HttpHost host, ChallengeType challengeType, org.apache.hc.core5.http.HttpResponse response, AuthenticationStrategy authStrategy, AuthExchange authExchange, org.apache.hc.core5.http.protocol.HttpContext context) Handles the response from the opposite endpoint and updates theAuthExchangestate based on the challenge presented in the response message using the givenAuthenticationStrategy.booleanBasicScheme.isResponseReady(org.apache.hc.core5.http.HttpHost host, CredentialsProvider credentialsProvider, org.apache.hc.core5.http.protocol.HttpContext context) booleanBearerScheme.isResponseReady(org.apache.hc.core5.http.HttpHost host, CredentialsProvider credentialsProvider, org.apache.hc.core5.http.protocol.HttpContext context) booleanDigestScheme.isResponseReady(org.apache.hc.core5.http.HttpHost host, CredentialsProvider credentialsProvider, org.apache.hc.core5.http.protocol.HttpContext context) booleanGGSSchemeBase.isResponseReady(org.apache.hc.core5.http.HttpHost host, CredentialsProvider credentialsProvider, org.apache.hc.core5.http.protocol.HttpContext context) Deprecated.booleanNTLMScheme.isResponseReady(org.apache.hc.core5.http.HttpHost host, CredentialsProvider credentialsProvider, org.apache.hc.core5.http.protocol.HttpContext context) Deprecated.booleanScramScheme.isResponseReady(org.apache.hc.core5.http.HttpHost host, CredentialsProvider credentialsProvider, org.apache.hc.core5.http.protocol.HttpContext context) Allow response when: - INIT (preemptive client-first) — only if creds have been prepared - ANNOUNCED (401 without data) - SERVER_FIRST_RCVD (ready to send client-final)static CharsetAuthSchemeSupport.parseCharset(String charsetName, Charset defaultCharset) booleanScramExtension.process(String name, String value, org.apache.hc.core5.http.protocol.HttpContext context) Process an extension attribute.voidScramScheme.processChallenge(org.apache.hc.core5.http.HttpHost host, boolean challenged, AuthChallenge authChallenge, org.apache.hc.core5.http.protocol.HttpContext context) Handles 401 challenges (with/withoutdata) and final responses carryingAuthentication-Info(any status code).