Class DynamicKerberosSchemeFactory
-
- All Implemented Interfaces:
-
org.apache.http.auth.AuthSchemeFactory,org.apache.http.auth.AuthSchemeProvider
public class DynamicKerberosSchemeFactory extends KerberosSchemeFactoryExtends KerberosSchemeFactory to provide ability to customize stripPort setting in KerberosScheme based on HttpContext
- Since:
5.0
-
-
Constructor Summary
Constructors Constructor Description DynamicKerberosSchemeFactory(boolean stripPort, boolean useCanonicalHostname)Constructor for DynamicKerberosSchemeFactory
-
Method Summary
Modifier and Type Method Description AuthSchemecreate(HttpContext context)-
-
Constructor Detail
-
DynamicKerberosSchemeFactory
DynamicKerberosSchemeFactory(boolean stripPort, boolean useCanonicalHostname)
Constructor for DynamicKerberosSchemeFactory- Parameters:
stripPort- flag, whether port should be stripped from SPNuseCanonicalHostname- flag, whether SPN should use the canonical hostname
-
-
Method Detail
-
create
AuthScheme create(HttpContext context)
-
-
-
-