org.apache.nutch.protocol.httpclient
Class HttpAuthenticationFactory
java.lang.Object
org.apache.nutch.protocol.httpclient.HttpAuthenticationFactory
- public class HttpAuthenticationFactory
- extends Object
Provides the Http protocol implementation
with the ability to authenticate when prompted. The goal is to provide
multiple authentication types but for now just the HttpBasicAuthentication
authentication
type is provided.
- Author:
- Matt Tencati
- See Also:
HttpBasicAuthentication
,
Http
,
HttpResponse
Field Summary |
static String |
AUTH_HEADER
The HTTP Authentication (WWW-Authenticate) header which is returned
by a webserver requiring authentication. |
static Logger |
LOG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AUTH_HEADER
public static final String AUTH_HEADER
- The HTTP Authentication (WWW-Authenticate) header which is returned
by a webserver requiring authentication.
- See Also:
- Constant Field Values
LOG
public static final Logger LOG
findAuthentication
public static HttpAuthentication findAuthentication(Properties header)
Copyright © 2006 The Apache Software Foundation