Class SPNEGOAuthenticator

java.lang.Object
org.keycloak.federation.kerberos.impl.SPNEGOAuthenticator

public class SPNEGOAuthenticator extends Object
Author:
Marek Posolda
  • Constructor Details

  • Method Details

    • authenticate

      public void authenticate()
    • isAuthenticated

      public boolean isAuthenticated()
    • getResponseToken

      public String getResponseToken()
    • getSerializedDelegationCredential

      public String getSerializedDelegationCredential()
    • getAuthenticatedUsername

      public String getAuthenticatedUsername()
      Returns:
      username to be used in Keycloak. Username is authenticated kerberos principal without realm name
    • establishContext

      protected GSSContext establishContext() throws GSSException, IOException
      Throws:
      GSSException
      IOException
    • logAuthDetails

      protected void logAuthDetails(GSSContext gssContext) throws GSSException
      Throws:
      GSSException