org.apache.nutch.protocol.httpclient
Class HttpAuthenticationFactory

java.lang.Object
  extended byorg.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
           
 
Method Summary
static HttpAuthentication findAuthentication(Properties header)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Method Detail

findAuthentication

public static HttpAuthentication findAuthentication(Properties header)


Copyright © 2006 The Apache Software Foundation