Class DynamicSPNegoSchemeFactory
java.lang.Object
org.apache.http.impl.auth.SPNegoSchemeFactory
org.apache.jmeter.protocol.http.control.DynamicSPNegoSchemeFactory
- All Implemented Interfaces:
org.apache.http.auth.AuthSchemeFactory
,org.apache.http.auth.AuthSchemeProvider
public class DynamicSPNegoSchemeFactory
extends org.apache.http.impl.auth.SPNegoSchemeFactory
Extends
SPNegoSchemeFactory
to provide ability to customize stripPort
setting in SPNegoScheme
based on HttpContext
- Since:
- 5.0
-
Constructor Summary
ConstructorDescriptionDynamicSPNegoSchemeFactory
(boolean stripPort, boolean useCanonicalHostname) Constructor for DynamicSPNegoSchemeFactory -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.http.auth.AuthScheme
create
(org.apache.http.protocol.HttpContext context) Methods inherited from class org.apache.http.impl.auth.SPNegoSchemeFactory
isStripPort, isUseCanonicalHostname, newInstance
-
Constructor Details
-
DynamicSPNegoSchemeFactory
public DynamicSPNegoSchemeFactory(boolean stripPort, boolean useCanonicalHostname) Constructor for DynamicSPNegoSchemeFactory- Parameters:
stripPort
- flag, whether port should be stripped from SPNuseCanonicalHostname
- flag, whether SPN should use the canonical hostname- Since:
- 4.0
-
-
Method Details
-
create
public org.apache.http.auth.AuthScheme create(org.apache.http.protocol.HttpContext context) - Specified by:
create
in interfaceorg.apache.http.auth.AuthSchemeProvider
- Overrides:
create
in classorg.apache.http.impl.auth.SPNegoSchemeFactory
-