Uses of Class
org.apache.hc.client5.http.auth.AuthenticationException
-
Packages that use AuthenticationException Package Description org.apache.hc.client5.http.auth Client HTTP authentication APIs.org.apache.hc.client5.http.impl org.apache.hc.client5.http.impl.async Asynchronous HTTP client API implementation that supports both HTTP/2 and HTTP/1.1 transport.org.apache.hc.client5.http.impl.auth Standard and common HTTP authentication schemes.org.apache.hc.client5.http.impl.classic Classic HTTP client API implementation that supports HTTP/1.1 transport only. -
-
Uses of AuthenticationException in org.apache.hc.client5.http.auth
Subclasses of AuthenticationException in org.apache.hc.client5.http.auth Modifier and Type Class Description classInvalidCredentialsExceptionAuthentication credentials required to respond to a authentication challenge are invalidMethods in org.apache.hc.client5.http.auth that throw AuthenticationException Modifier and Type Method Description java.lang.StringAuthScheme. 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.impl Modifier and Type Class Description classScramExceptionRepresents an exception that occurs during SCRAM (Salted Challenge Response Authentication Mechanism) authentication. -
Uses of AuthenticationException in org.apache.hc.client5.http.impl.async
Methods in org.apache.hc.client5.http.impl.async that throw AuthenticationException Modifier and Type Method Description private booleanAsyncConnectExec. needAuthentication(AuthExchange proxyAuthExchange, org.apache.hc.core5.http.HttpHost proxy, org.apache.hc.core5.http.HttpResponse response, HttpClientContext context)private booleanAsyncProtocolExec. needAuthentication(AuthExchange targetAuthExchange, AuthExchange proxyAuthExchange, org.apache.hc.core5.http.HttpHost proxy, org.apache.hc.core5.http.HttpHost target, java.lang.String pathPrefix, org.apache.hc.core5.http.HttpResponse response, HttpClientContext context) -
Uses of AuthenticationException in org.apache.hc.client5.http.impl.auth
Subclasses of AuthenticationException in org.apache.hc.client5.http.impl.auth Modifier and Type Class Description classNTLMEngineExceptionDeprecated.Do not use.Methods in org.apache.hc.client5.http.impl.auth that throw AuthenticationException Modifier and Type Method Description private java.lang.StringScramScheme. buildClientFinalAndExpectV()private java.lang.StringDigestScheme. createDigestResponse(org.apache.hc.core5.http.HttpRequest request)java.lang.StringBasicScheme. generateAuthResponse(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context)java.lang.StringBearerScheme. generateAuthResponse(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context)java.lang.StringDigestScheme. generateAuthResponse(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context)java.lang.StringGGSSchemeBase. generateAuthResponse(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context)Deprecated.java.lang.StringNTLMScheme. generateAuthResponse(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context)Deprecated.java.lang.StringScramScheme. 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 java.nio.charset.CharsetAuthSchemeSupport. parseCharset(java.lang.String charsetName, java.nio.charset.Charset defaultCharset)booleanScramExtension. process(java.lang.String name, java.lang.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).private voidBasicScheme. validatePassword()private voidBasicScheme. validateUsername() -
Uses of AuthenticationException in org.apache.hc.client5.http.impl.classic
Methods in org.apache.hc.client5.http.impl.classic that throw AuthenticationException Modifier and Type Method Description private booleanProtocolExec. needAuthentication(AuthExchange targetAuthExchange, AuthExchange proxyAuthExchange, org.apache.hc.core5.http.HttpHost proxy, org.apache.hc.core5.http.HttpHost target, java.lang.String pathPrefix, org.apache.hc.core5.http.HttpResponse response, HttpClientContext context)
-