Class SASLExternalMechanism

java.lang.Object
org.jivesoftware.smack.sasl.SASLMechanism
org.jivesoftware.smack.sasl.provided.SASLExternalMechanism
All Implemented Interfaces:
Comparable<org.jivesoftware.smack.sasl.SASLMechanism>

public class SASLExternalMechanism extends org.jivesoftware.smack.sasl.SASLMechanism
Implementation of the SASL-EXTERNAL authentication mechanism.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class org.jivesoftware.smack.sasl.SASLMechanism

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    boolean
     
    void
     
    protected byte[]
     
     
    int
     
    protected org.jivesoftware.smack.sasl.SASLMechanism
     
    boolean
     

    Methods inherited from class org.jivesoftware.smack.sasl.SASLMechanism

    afterFinalSaslChallenge, authenticate, authenticate, authenticateInternal, challengeReceived, compareTo, evaluateChallenge, instanceForAuthentication, isAuthenticationSuccessful, isFinished, saslPrep, setException, throwExceptionIfRequired, toBytes, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • SASLExternalMechanism

      public SASLExternalMechanism()
  • Method Details

    • authenticateInternal

      protected void authenticateInternal(CallbackHandler cbh)
      Specified by:
      authenticateInternal in class org.jivesoftware.smack.sasl.SASLMechanism
    • getAuthenticationText

      protected byte[] getAuthenticationText()
      Specified by:
      getAuthenticationText in class org.jivesoftware.smack.sasl.SASLMechanism
    • getName

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

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

      protected org.jivesoftware.smack.sasl.SASLMechanism newInstance()
      Specified by:
      newInstance in class org.jivesoftware.smack.sasl.SASLMechanism
    • checkIfSuccessfulOrThrow

      public void checkIfSuccessfulOrThrow()
      Specified by:
      checkIfSuccessfulOrThrow in class org.jivesoftware.smack.sasl.SASLMechanism
    • authzidSupported

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

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