@Immutable public class SPNegoSchemeFactory extends java.lang.Object implements AuthSchemeFactory, AuthSchemeProvider
AuthSchemeProvider implementation that creates and initializes
SPNegoScheme instances.| Constructor and Description |
|---|
SPNegoSchemeFactory() |
SPNegoSchemeFactory(boolean stripPort) |
SPNegoSchemeFactory(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. |
public SPNegoSchemeFactory(boolean stripPort,
boolean useCanonicalHostname)
public SPNegoSchemeFactory(boolean stripPort)
public SPNegoSchemeFactory()
public boolean isStripPort()
public boolean isUseCanonicalHostname()
public AuthScheme newInstance(HttpParams params)
AuthSchemeFactoryAuthScheme using given HTTP parameters.newInstance in interface AuthSchemeFactoryparams - HTTP parameters.public AuthScheme create(HttpContext context)
AuthSchemeProviderAuthScheme.create in interface AuthSchemeProvider