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.
|
org.apache.hc.client5.http.impl.classic |
Classic HTTP client API implementation that supports HTTP/1.1 transport
only.
|
Modifier and Type | Class and Description |
---|---|
class |
BearerToken
Opaque token
Credentials usually representing a set of claims, often encrypted
or signed. |
class |
KerberosCredentials
Deprecated.
Do not use. The GGS based experimental authentication schemes are no longer
supported. Consider using Basic or Bearer authentication with TLS instead.
|
class |
NTCredentials
Deprecated.
Do not use. the NTLM authentication scheme is no longer supported.
Consider using Basic or Bearer authentication with TLS instead.
|
class |
UsernamePasswordCredentials
Simple
Credentials representation based on a user name / password
pair. |
Modifier and Type | Method and Description |
---|---|
Credentials |
CredentialsProvider.getCredentials(AuthScope authScope,
org.apache.hc.core5.http.protocol.HttpContext context)
Returns
credentials for the given authentication scope,
if available. |
Modifier and Type | Method and Description |
---|---|
void |
CredentialsStore.setCredentials(AuthScope authScope,
Credentials credentials)
Sets the
credentials for the given authentication
scope. |
Modifier and Type | Method and Description |
---|---|
Credentials |
SystemDefaultCredentialsProvider.getCredentials(AuthScope authScope,
org.apache.hc.core5.http.protocol.HttpContext context) |
Credentials |
BasicCredentialsProvider.getCredentials(AuthScope authScope,
org.apache.hc.core5.http.protocol.HttpContext context) |
Modifier and Type | Method and Description |
---|---|
CredentialsProviderBuilder |
CredentialsProviderBuilder.add(AuthScope authScope,
Credentials credentials) |
CredentialsProviderBuilder |
CredentialsProviderBuilder.add(org.apache.hc.core5.http.HttpHost httpHost,
Credentials credentials) |
void |
BasicScheme.initPreemptive(Credentials credentials) |
void |
DigestScheme.initPreemptive(Credentials credentials,
String cnonce,
String realm) |
void |
SystemDefaultCredentialsProvider.setCredentials(AuthScope authScope,
Credentials credentials) |
void |
BasicCredentialsProvider.setCredentials(AuthScope authScope,
Credentials credentials) |
Modifier and Type | Method and Description |
---|---|
Socket |
ProxyClient.tunnel(org.apache.hc.core5.http.HttpHost proxy,
org.apache.hc.core5.http.HttpHost target,
Credentials credentials) |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.