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 |
AuthSchemeBase
Deprecated.
No longer used
|
class |
BasicScheme
Basic authentication scheme as defined in RFC 2617.
|
class |
DigestScheme
Digest authentication scheme as defined in RFC 2617.
|
class |
NTLMScheme
An implementation of the Microsoft proprietary NTLM authentication scheme.
|
class |
RFC2617Scheme
Abstract authentication scheme class that lays foundation for all
RFC 2617 compliant authetication schemes and provides capabilities common
to all authentication schemes defined in RFC 2617.
|
Modifier and Type | Method and Description |
---|---|
AuthScheme |
AuthState.getAuthScheme()
Returns the
authentication scheme . |
static AuthScheme |
AuthPolicy.getAuthScheme(java.lang.String id)
Gets the
authentication scheme with the given ID. |
AuthScheme |
AuthChallengeProcessor.processChallenge(AuthState state,
java.util.Map challenges)
Processes the given collection of challenges and updates the
state of the authentication process. |
static AuthScheme |
HttpAuthenticator.selectAuthScheme(Header[] challenges)
Deprecated.
|
AuthScheme |
AuthChallengeProcessor.selectAuthScheme(java.util.Map challenges)
Determines the preferred
authentication scheme that can be used
to respond to the given collection of challenges. |
Modifier and Type | Method and Description |
---|---|
static boolean |
HttpAuthenticator.authenticate(AuthScheme authscheme,
HttpMethod method,
HttpConnection conn,
HttpState state)
Deprecated.
use AuthScheme
|
static boolean |
HttpAuthenticator.authenticateProxy(AuthScheme authscheme,
HttpMethod method,
HttpConnection conn,
HttpState state)
Deprecated.
use AuthScheme
|
Credentials |
CredentialsProvider.getCredentials(AuthScheme scheme,
java.lang.String host,
int port,
boolean proxy)
Requests additional
authentication credentials . |
void |
AuthState.setAuthScheme(AuthScheme authScheme)
Assigns the given
authentication scheme . |
Copyright © 2001-2012 Apache Software Foundation. All Rights Reserved.