public class DynamicKerberosSchemeFactory
extends org.apache.http.impl.auth.KerberosSchemeFactory
KerberosSchemeFactory
to provide ability to customize stripPort
setting in KerberosScheme
based on HttpContext
Constructor and Description |
---|
DynamicKerberosSchemeFactory(boolean stripPort,
boolean useCanonicalHostname)
Constructor for DynamicKerberosSchemeFactory
|
Modifier and Type | Method and Description |
---|---|
org.apache.http.auth.AuthScheme |
create(org.apache.http.protocol.HttpContext context) |
public DynamicKerberosSchemeFactory(boolean stripPort, boolean useCanonicalHostname)
stripPort
- flag, whether port should be stripped from SPNuseCanonicalHostname
- flag, whether SPN should use the canonical hostnameCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.