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 | Class and Description |
---|---|
class |
InvalidCredentialsException
Authentication credentials required to respond to a authentication
challenge are invalid
|
Modifier and Type | Method and Description |
---|---|
String |
AuthScheme.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.
|
boolean |
AuthScheme.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 void |
AuthScheme.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.
|
Modifier and Type | Class and Description |
---|---|
class |
NTLMEngineException
Deprecated.
Do not use.
|
Modifier and Type | Method and Description |
---|---|
String |
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.
|
String |
BearerScheme.generateAuthResponse(org.apache.hc.core5.http.HttpHost host,
org.apache.hc.core5.http.HttpRequest request,
org.apache.hc.core5.http.protocol.HttpContext context) |
String |
BasicScheme.generateAuthResponse(org.apache.hc.core5.http.HttpHost host,
org.apache.hc.core5.http.HttpRequest request,
org.apache.hc.core5.http.protocol.HttpContext context) |
String |
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.
|
String |
DigestScheme.generateAuthResponse(org.apache.hc.core5.http.HttpHost host,
org.apache.hc.core5.http.HttpRequest request,
org.apache.hc.core5.http.protocol.HttpContext context) |
boolean |
AuthenticationHandler.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 the
AuthExchange
state based on the challenge presented in the response message using the given
AuthenticationStrategy . |
boolean |
NTLMScheme.isResponseReady(org.apache.hc.core5.http.HttpHost host,
CredentialsProvider credentialsProvider,
org.apache.hc.core5.http.protocol.HttpContext context)
Deprecated.
|
boolean |
BearerScheme.isResponseReady(org.apache.hc.core5.http.HttpHost host,
CredentialsProvider credentialsProvider,
org.apache.hc.core5.http.protocol.HttpContext context) |
boolean |
BasicScheme.isResponseReady(org.apache.hc.core5.http.HttpHost host,
CredentialsProvider credentialsProvider,
org.apache.hc.core5.http.protocol.HttpContext context) |
boolean |
GGSSchemeBase.isResponseReady(org.apache.hc.core5.http.HttpHost host,
CredentialsProvider credentialsProvider,
org.apache.hc.core5.http.protocol.HttpContext context)
Deprecated.
|
boolean |
DigestScheme.isResponseReady(org.apache.hc.core5.http.HttpHost host,
CredentialsProvider credentialsProvider,
org.apache.hc.core5.http.protocol.HttpContext context) |
static Charset |
AuthSchemeSupport.parseCharset(String charsetName,
Charset defaultCharset) |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.