Class SASLGSSAPIMechanism

  • All Implemented Interfaces:
    java.lang.Comparable<org.jivesoftware.smack.sasl.SASLMechanism>

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

      Fields 
      Modifier and Type Field Description
      static java.lang.String NAME  
      • Fields inherited from class org.jivesoftware.smack.sasl.SASLMechanism

        authenticationId, authorizationId, connection, connectionConfiguration, CRAMMD5, DIGESTMD5, EXTERNAL, GSSAPI, host, password, PLAIN, serviceName, sslSession
    • Constructor Detail

      • SASLGSSAPIMechanism

        public SASLGSSAPIMechanism()
    • Method Detail

      • authzidSupported

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

        protected java.lang.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