| Package | Description |
|---|---|
| org.apache.hc.client5.http.auth |
Client HTTP authentication APIs.
|
| org.apache.hc.client5.http.impl.auth |
Standard and common HTTP authentication schemes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AuthScheme.processChallenge(AuthChallenge authChallenge,
HttpContext context)
Processes the given auth challenge.
|
default void |
AuthScheme.processChallenge(HttpHost host,
boolean challenged,
AuthChallenge authChallenge,
HttpContext context)
Processes the given auth challenge.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AuthenticationHandler.handleResponse(HttpHost host,
ChallengeType challengeType,
HttpResponse response,
AuthenticationStrategy authStrategy,
AuthExchange authExchange,
HttpContext context)
Handles the response from the opposite endpoint and updates the
AuthExchange
state based on the challenge presented in the response message using the given
AuthenticationStrategy. |
void |
ScramScheme.processChallenge(AuthChallenge authChallenge,
HttpContext context)
Legacy entry point: wraps
AuthenticationException as MalformedChallengeException. |
void |
NTLMScheme.processChallenge(AuthChallenge authChallenge,
HttpContext context)
Deprecated.
|
void |
GGSSchemeBase.processChallenge(AuthChallenge authChallenge,
HttpContext context)
Deprecated.
|
void |
DigestScheme.processChallenge(AuthChallenge authChallenge,
HttpContext context) |
void |
BearerScheme.processChallenge(AuthChallenge authChallenge,
HttpContext context) |
void |
BasicScheme.processChallenge(AuthChallenge authChallenge,
HttpContext context) |
void |
ScramScheme.processChallenge(HttpHost host,
boolean challenged,
AuthChallenge authChallenge,
HttpContext context)
Handles 401 challenges (with/without
data) and final responses carrying
Authentication-Info (any status code). |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.