public class HttpAuthenticationFactory extends java.lang.Object implements Configurable
HttpBasicAuthentication
authentication type is provided.HttpBasicAuthentication
,
Http
,
HttpResponse
Modifier and Type | Field and Description |
---|---|
static java.lang.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 java.lang.String WWW_AUTHENTICATE
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 © 2019 The Apache Software Foundation