Class SASLGSSAPIMechanism

java.lang.Object
org.jivesoftware.smack.sasl.SASLMechanism
org.jivesoftware.smack.sasl.javax.SASLJavaXMechanism
org.jivesoftware.smack.sasl.javax.SASLGSSAPIMechanism
All Implemented Interfaces:
Comparable<org.jivesoftware.smack.sasl.SASLMechanism>

public class SASLGSSAPIMechanism extends SASLJavaXMechanism
Implementation of the SASL GSSAPI mechanism.
  • Field Details

  • Constructor Details

    • SASLGSSAPIMechanism

      public SASLGSSAPIMechanism()
  • Method Details

    • authzidSupported

      public boolean authzidSupported()
      Overrides:
      authzidSupported in class org.jivesoftware.smack.sasl.SASLMechanism
    • getName

      public String getName()
      Specified by:
      getName in class SASLJavaXMechanism
    • getSaslProps

      protected Map<String,String> getSaslProps()
      Overrides:
      getSaslProps in class SASLJavaXMechanism
    • getServerName

      protected String getServerName()
      GSSAPI differs from all other SASL mechanism such that it required the FQDN host name as server name and not the serviceName (At least that is what old code comments of Smack tell us).
      Overrides:
      getServerName in class SASLJavaXMechanism
    • getPriority

      public int getPriority()
      Specified by:
      getPriority in class org.jivesoftware.smack.sasl.SASLMechanism
    • newInstance

      public SASLGSSAPIMechanism newInstance()
      Specified by:
      newInstance in class org.jivesoftware.smack.sasl.SASLMechanism
    • requiresPassword

      public boolean requiresPassword()
      Overrides:
      requiresPassword in class org.jivesoftware.smack.sasl.SASLMechanism