Class HttpAuthenticationFactory
java.lang.Object
org.apache.nutch.protocol.httpclient.HttpAuthenticationFactory
- All Implemented Interfaces:
Configurable
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe HTTP Authentication (WWW-Authenticate) header which is returned by a webserver requiring authentication. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindAuthentication(Metadata header) getConf()voidsetConf(Configuration conf)
-
Field Details
-
WWW_AUTHENTICATE
The HTTP Authentication (WWW-Authenticate) header which is returned by a webserver requiring authentication.- See Also:
-
-
Constructor Details
-
HttpAuthenticationFactory
-
-
Method Details
-
setConf
- Specified by:
setConfin interfaceConfigurable
-
getConf
- Specified by:
getConfin interfaceConfigurable
-
findAuthentication
-