@Contract(threading=IMMUTABLE) public class KerberosSchemeFactory extends Object implements AuthSchemeFactory, AuthSchemeProvider
AuthSchemeProvider
implementation that creates and initializes
KerberosScheme
instances.Modifier and Type | Field and Description |
---|---|
private boolean |
stripPort |
private boolean |
useCanonicalHostname |
Constructor and Description |
---|
KerberosSchemeFactory() |
KerberosSchemeFactory(boolean stripPort) |
KerberosSchemeFactory(boolean stripPort,
boolean useCanonicalHostname) |
Modifier and Type | Method and Description |
---|---|
AuthScheme |
create(HttpContext context)
Creates an instance of
AuthScheme . |
boolean |
isStripPort() |
boolean |
isUseCanonicalHostname() |
AuthScheme |
newInstance(HttpParams params)
Creates an instance of
AuthScheme using given HTTP parameters. |
private final boolean stripPort
private final boolean useCanonicalHostname
public KerberosSchemeFactory(boolean stripPort, boolean useCanonicalHostname)
public KerberosSchemeFactory(boolean stripPort)
public KerberosSchemeFactory()
public boolean isStripPort()
public boolean isUseCanonicalHostname()
public AuthScheme newInstance(HttpParams params)
AuthSchemeFactory
AuthScheme
using given HTTP parameters.newInstance
in interface AuthSchemeFactory
params
- HTTP parameters.public AuthScheme create(HttpContext context)
AuthSchemeProvider
AuthScheme
.create
in interface AuthSchemeProvider
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses