AuthSchemeFactory, AuthSchemeProvider@Contract(threading=IMMUTABLE) public class KerberosSchemeFactory extends java.lang.Object implements AuthSchemeFactory, AuthSchemeProvider
AuthSchemeProvider implementation that creates and initializes
KerberosScheme instances.| Constructor | Description |
|---|---|
KerberosSchemeFactory() |
|
KerberosSchemeFactory(boolean stripPort) |
|
KerberosSchemeFactory(boolean stripPort,
boolean useCanonicalHostname) |
| Modifier and Type | Method | Description |
|---|---|---|
AuthScheme |
create(org.apache.http.protocol.HttpContext context) |
Creates an instance of
AuthScheme. |
boolean |
isStripPort() |
|
boolean |
isUseCanonicalHostname() |
|
AuthScheme |
newInstance(org.apache.http.params.HttpParams params) |
Creates an instance of
AuthScheme using given HTTP parameters. |
public KerberosSchemeFactory(boolean stripPort,
boolean useCanonicalHostname)
public KerberosSchemeFactory(boolean stripPort)
public KerberosSchemeFactory()
public boolean isStripPort()
public boolean isUseCanonicalHostname()
public AuthScheme newInstance(org.apache.http.params.HttpParams params)
AuthSchemeFactoryAuthScheme using given HTTP parameters.newInstance in interface AuthSchemeFactoryparams - HTTP parameters.public AuthScheme create(org.apache.http.protocol.HttpContext context)
AuthSchemeProviderAuthScheme.create in interface AuthSchemeProvider