Class DynamicKerberosSchemeFactory

  • All Implemented Interfaces:
    org.apache.http.auth.AuthSchemeFactory , org.apache.http.auth.AuthSchemeProvider

    
    public class DynamicKerberosSchemeFactory
    extends KerberosSchemeFactory
                        

    Extends KerberosSchemeFactory to provide ability to customize stripPort setting in KerberosScheme based on HttpContext

    Since:

    5.0

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      DynamicKerberosSchemeFactory(boolean stripPort, boolean useCanonicalHostname) Constructor for DynamicKerberosSchemeFactory
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      AuthScheme create(HttpContext context)
      • Methods inherited from class org.apache.http.impl.auth.KerberosSchemeFactory

        isStripPort, isUseCanonicalHostname, newInstance
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DynamicKerberosSchemeFactory

        DynamicKerberosSchemeFactory(boolean stripPort, boolean useCanonicalHostname)
        Constructor for DynamicKerberosSchemeFactory
        Parameters:
        stripPort - flag, whether port should be stripped from SPN
        useCanonicalHostname - flag, whether SPN should use the canonical hostname
    • Method Detail

      • create

         AuthScheme create(HttpContext context)