| |
|
| java.lang.Object org.apache.commons.httpclient.auth.AuthPolicy
AuthPolicy | abstract public class AuthPolicy (Code) | | Authentication policy class. The Authentication policy provides corresponding
authentication scheme interfrace for a given type of authorization challenge.
The following specifications are provided:
- Basic: Basic authentication scheme as defined in RFC2617
(considered inherently insecure, but most widely supported)
- Digest: Digest authentication scheme as defined in RFC2617
- NTLM: The NTLM scheme is a proprietary Microsoft Windows
Authentication protocol (considered to be the most secure among
currently supported authentication schemes)
author: Oleg Kalnichevski version: $Revision: 480424 $ since: 3.0 |
Field Summary | |
final public static String | AUTH_SCHEME_PRIORITY The key used to look up the list of IDs of supported
AuthScheme authentication schemes in their order of preference. | final public static String | BASIC | final public static String | DIGEST Digest authentication scheme as defined in RFC2617. | final protected static Log | LOG Log object. | final public static String | NTLM The NTLM scheme is a proprietary Microsoft Windows Authentication
protocol (considered to be the most secure among currently supported
authentication schemes). |
AUTH_SCHEME_PRIORITY | final public static String AUTH_SCHEME_PRIORITY(Code) | | The key used to look up the list of IDs of supported
AuthScheme authentication schemes in their order of preference. The scheme IDs are
stored in a
java.util.Collection as
java.lang.String s.
If several schemes are returned in the WWW-Authenticate
or Proxy-Authenticate header, this parameter defines which
AuthScheme authentication schemes takes precedence over others.
The first item in the collection represents the most preferred
AuthScheme authentication scheme , the last item represents the ID
of the least preferred one.
See Also: org.apache.commons.httpclient.params.DefaultHttpParams |
BASIC | final public static String BASIC(Code) | | Basic authentication scheme as defined in RFC2617 (considered inherently
insecure, but most widely supported)
|
DIGEST | final public static String DIGEST(Code) | | Digest authentication scheme as defined in RFC2617.
|
LOG | final protected static Log LOG(Code) | | Log object.
|
NTLM | final public static String NTLM(Code) | | The NTLM scheme is a proprietary Microsoft Windows Authentication
protocol (considered to be the most secure among currently supported
authentication schemes).
|
getDefaultAuthPrefs | public static synchronized List getDefaultAuthPrefs()(Code) | | Returns a list containing all registered
AuthScheme authentication schemes in their default order.
AuthScheme authentication scheme |
unregisterAuthScheme | public static synchronized void unregisterAuthScheme(String id)(Code) | | Unregisters the class implementing an
AuthScheme authentication scheme with
the given ID.
Parameters: id - the ID of the class to unregister |
|
|
|