Package | Description |
---|---|
org.apache.commons.httpclient.auth |
Provides implementation of various authentication schemes as well as
utility classes that can be used to authenticate HTTP requests.
|
Modifier and Type | Class and Description |
---|---|
class |
AuthChallengeException
Signals a failure processing authentication challenge
|
class |
CredentialsNotAvailableException
Authentication credentials required to respond to a authentication
challenge are not available
|
class |
InvalidCredentialsException
Authentication credentials required to respond to a authentication
challenge are invalid
|
Modifier and Type | Method and Description |
---|---|
static boolean |
HttpAuthenticator.authenticate(AuthScheme authscheme,
HttpMethod method,
HttpConnection conn,
HttpState state)
Deprecated.
use AuthScheme
|
java.lang.String |
AuthScheme.authenticate(Credentials credentials,
HttpMethod method)
Produces an authorization string for the given set of
Credentials . |
java.lang.String |
NTLMScheme.authenticate(Credentials credentials,
HttpMethod method)
Produces NTLM authorization string for the given set of
Credentials . |
java.lang.String |
DigestScheme.authenticate(Credentials credentials,
HttpMethod method)
Produces a digest authorization string for the given set of
Credentials , method name and URI. |
java.lang.String |
BasicScheme.authenticate(Credentials credentials,
HttpMethod method)
Produces basic authorization string for the given set of
Credentials . |
java.lang.String |
AuthScheme.authenticate(Credentials credentials,
java.lang.String method,
java.lang.String uri)
Deprecated.
Use
AuthScheme.authenticate(Credentials, HttpMethod)
Produces an authorization string for the given set of Credentials ,
method name and URI using the given authentication scheme in response to
the actual authorization challenge. |
java.lang.String |
NTLMScheme.authenticate(Credentials credentials,
java.lang.String method,
java.lang.String uri)
Deprecated.
|
java.lang.String |
DigestScheme.authenticate(Credentials credentials,
java.lang.String method,
java.lang.String uri)
Deprecated.
|
java.lang.String |
BasicScheme.authenticate(Credentials credentials,
java.lang.String method,
java.lang.String uri)
Deprecated.
|
static java.lang.String |
NTLMScheme.authenticate(NTCredentials credentials,
java.lang.String challenge)
Deprecated.
Use non-static
NTLMScheme.authenticate(Credentials, HttpMethod) |
static java.lang.String |
NTLMScheme.authenticate(NTCredentials credentials,
java.lang.String challenge,
java.lang.String charset)
Deprecated.
Use non-static
NTLMScheme.authenticate(Credentials, HttpMethod) |
static boolean |
HttpAuthenticator.authenticateDefault(HttpMethod method,
HttpConnection conn,
HttpState state)
Deprecated.
use AuthScheme
|
static boolean |
HttpAuthenticator.authenticateProxy(AuthScheme authscheme,
HttpMethod method,
HttpConnection conn,
HttpState state)
Deprecated.
use AuthScheme
|
static boolean |
HttpAuthenticator.authenticateProxyDefault(HttpMethod method,
HttpConnection conn,
HttpState state)
Deprecated.
use AuthScheme
|
AuthScheme |
AuthChallengeProcessor.processChallenge(AuthState state,
java.util.Map challenges)
Processes the given collection of challenges and updates the
state of the authentication process. |
Copyright © 2001-2012 Apache Software Foundation. All Rights Reserved.