public class DynamicSPNegoSchemeFactory
extends org.apache.http.impl.auth.SPNegoSchemeFactory
SPNegoSchemeFactory
to provide ability to customize stripPort
setting in SPNegoScheme
based on HttpContext
Constructor and Description |
---|
DynamicSPNegoSchemeFactory(boolean stripPort,
boolean useCanonicalHostname)
Constructor for DynamicSPNegoSchemeFactory
|
Modifier and Type | Method and Description |
---|---|
org.apache.http.auth.AuthScheme |
create(org.apache.http.protocol.HttpContext context) |
public DynamicSPNegoSchemeFactory(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.