public class HttpAuthenticationFactory extends Object implements 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(Configuration conf) |
Modifier and Type | Method and Description |
---|---|
HttpAuthentication |
findAuthentication(Metadata header) |
Configuration |
getConf() |
void |
setConf(Configuration conf) |
public static final String WWW_AUTHENTICATE
public static final org.slf4j.Logger LOG
public HttpAuthenticationFactory(Configuration conf)
public void setConf(Configuration conf)
setConf
in interface Configurable
public Configuration getConf()
getConf
in interface Configurable
public HttpAuthentication findAuthentication(Metadata header)
Copyright © 2015 The Apache Software Foundation