Class KerberosAuthHeaderFactory

java.lang.Object
org.mule.extension.kerberos.api.KerberosAuthHeaderFactory
All Implemented Interfaces:
org.mule.runtime.http.api.client.proxy.AuthHeaderFactory

public class KerberosAuthHeaderFactory extends Object implements org.mule.runtime.http.api.client.proxy.AuthHeaderFactory
Generates Kerberos authentication headers for HTTP proxy connections. Uses SPNEGO tokens as required by RFC 4559 for HTTP "Negotiate" auth.
  • Constructor Details

  • Method Details

    • cleanup

      public void cleanup()
      Cleanup GSS context resources to prevent memory leaks.
    • hasFinished

      public boolean hasFinished()
      Specified by:
      hasFinished in interface org.mule.runtime.http.api.client.proxy.AuthHeaderFactory
    • generateHeader

      public CompletableFuture<String> generateHeader(org.mule.runtime.http.api.domain.message.response.HttpResponse response)
      Specified by:
      generateHeader in interface org.mule.runtime.http.api.client.proxy.AuthHeaderFactory