Package | Description |
---|---|
org.apache.http.auth |
Client HTTP authentication APIs.
|
org.apache.http.client |
Client HTTP communication APIs.
|
org.apache.http.client.fluent |
Simple facade APIs for HttpClient based on the concept of
a fluent interface.
|
org.apache.http.impl.auth |
Default implementations of standard and common HTTP authentication
schemes.
|
org.apache.http.impl.auth.win |
Auth scheme that makes use of JNA to implement Negotiate and NTLM on Windows Platforms.
|
org.apache.http.impl.client |
Default HTTP client implementation.
|
Modifier and Type | Class and Description |
---|---|
class |
KerberosCredentials
Credentials implementation based on GSSCredential for Kerberos Authentication. |
class |
NTCredentials
Credentials implementation for Microsoft Windows platforms that includes
Windows specific attributes such as name of the domain the user belongs to. |
class |
UsernamePasswordCredentials
Simple
Credentials implementation based on a user name / password
pair. |
Modifier and Type | Method and Description |
---|---|
Credentials |
AuthState.getCredentials()
Returns actual
Credentials . |
Credentials |
AuthOption.getCredentials() |
Modifier and Type | Method and Description |
---|---|
org.apache.http.Header |
AuthScheme.authenticate(Credentials credentials,
org.apache.http.HttpRequest request)
|
org.apache.http.Header |
ContextAwareAuthScheme.authenticate(Credentials credentials,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
Produces an authorization string for the given set of
Credentials . |
void |
AuthState.setCredentials(Credentials credentials)
Deprecated.
|
void |
AuthState.update(AuthScheme authScheme,
Credentials credentials)
Updates the auth state with
AuthScheme and Credentials . |
Constructor and Description |
---|
AuthOption(AuthScheme authScheme,
Credentials creds) |
Modifier and Type | Method and Description |
---|---|
Credentials |
CredentialsProvider.getCredentials(AuthScope authscope)
Get the
credentials for the given authentication scope. |
Modifier and Type | Method and Description |
---|---|
void |
CredentialsProvider.setCredentials(AuthScope authscope,
Credentials credentials)
Sets the
credentials for the given authentication
scope. |
Modifier and Type | Method and Description |
---|---|
Executor |
Executor.auth(AuthScope authScope,
Credentials creds) |
Executor |
Executor.auth(Credentials cred) |
Executor |
Executor.auth(org.apache.http.HttpHost host,
Credentials creds) |
Executor |
Executor.auth(String host,
Credentials creds) |
Modifier and Type | Method and Description |
---|---|
org.apache.http.Header |
BasicScheme.authenticate(Credentials credentials,
org.apache.http.HttpRequest request)
|
org.apache.http.Header |
GGSSchemeBase.authenticate(Credentials credentials,
org.apache.http.HttpRequest request)
|
org.apache.http.Header |
NegotiateScheme.authenticate(Credentials credentials,
org.apache.http.HttpRequest request)
Deprecated.
|
org.apache.http.Header |
NTLMScheme.authenticate(Credentials credentials,
org.apache.http.HttpRequest request) |
org.apache.http.Header |
DigestScheme.authenticate(Credentials credentials,
org.apache.http.HttpRequest request)
|
org.apache.http.Header |
BasicScheme.authenticate(Credentials credentials,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
Produces basic authorization header for the given set of
Credentials . |
org.apache.http.Header |
GGSSchemeBase.authenticate(Credentials credentials,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context) |
org.apache.http.Header |
SPNegoScheme.authenticate(Credentials credentials,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
Produces SPNEGO authorization Header based on token created by
processChallenge.
|
org.apache.http.Header |
KerberosScheme.authenticate(Credentials credentials,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
Produces KERBEROS authorization Header based on token created by
processChallenge.
|
org.apache.http.Header |
NegotiateScheme.authenticate(Credentials credentials,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
Deprecated.
Produces Negotiate authorization Header based on token created by
processChallenge.
|
org.apache.http.Header |
AuthSchemeBase.authenticate(Credentials credentials,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context) |
org.apache.http.Header |
DigestScheme.authenticate(Credentials credentials,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
Produces a digest authorization string for the given set of
Credentials , method name and URI. |
static org.apache.http.Header |
BasicScheme.authenticate(Credentials credentials,
String charset,
boolean proxy)
Deprecated.
|
protected byte[] |
GGSSchemeBase.generateGSSToken(byte[] input,
Oid oid,
String authServer,
Credentials credentials) |
protected byte[] |
GGSSchemeBase.generateToken(byte[] input,
String authServer,
Credentials credentials) |
protected byte[] |
SPNegoScheme.generateToken(byte[] input,
String authServer,
Credentials credentials) |
protected byte[] |
KerberosScheme.generateToken(byte[] input,
String authServer,
Credentials credentials) |
protected byte[] |
NegotiateScheme.generateToken(byte[] input,
String authServer,
Credentials credentials)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
CurrentWindowsCredentials
Returns the current Windows user credentials
|
Modifier and Type | Method and Description |
---|---|
Credentials |
WindowsCredentialsProvider.getCredentials(AuthScope authscope) |
Modifier and Type | Method and Description |
---|---|
org.apache.http.Header |
WindowsNegotiateScheme.authenticate(Credentials credentials,
org.apache.http.HttpRequest request)
|
org.apache.http.Header |
WindowsNegotiateScheme.authenticate(Credentials credentials,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context) |
void |
WindowsCredentialsProvider.setCredentials(AuthScope authscope,
Credentials credentials) |
Modifier and Type | Method and Description |
---|---|
Credentials |
BasicCredentialsProvider.getCredentials(AuthScope authscope) |
Credentials |
SystemDefaultCredentialsProvider.getCredentials(AuthScope authscope) |
Modifier and Type | Method and Description |
---|---|
void |
BasicCredentialsProvider.setCredentials(AuthScope authscope,
Credentials credentials) |
void |
SystemDefaultCredentialsProvider.setCredentials(AuthScope authscope,
Credentials credentials) |
Socket |
ProxyClient.tunnel(org.apache.http.HttpHost proxy,
org.apache.http.HttpHost target,
Credentials credentials) |
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.