public class HttpAuthenticationFactory extends Object implements org.apache.hadoop.conf.Configurable
HttpBasicAuthentication
authentication
type is provided.HttpBasicAuthentication
,
Http
,
HttpResponse
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
static String |
WWW_AUTHENTICATE
The HTTP Authentication (WWW-Authenticate) header which is returned
by a webserver requiring authentication.
|
Constructor and Description |
---|
HttpAuthenticationFactory(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
HttpAuthentication |
findAuthentication(Metadata header) |
org.apache.hadoop.conf.Configuration |
getConf() |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
public static final String WWW_AUTHENTICATE
public static final org.slf4j.Logger LOG
public HttpAuthenticationFactory(org.apache.hadoop.conf.Configuration conf)
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public HttpAuthentication findAuthentication(Metadata header)
Copyright © 2014 The Apache Software Foundation