Class SASLAuthentication

  • public final class SASLAuthentication
    extends Object

    This class is responsible authenticating the user using SASL, binding the resource to the connection and establishing a session with the server.

    Once TLS has been negotiated (i.e. the connection has been secured) it is possible to register with the server or authenticate using SASL. If the server supports SASL then Smack will try to authenticate using SASL..

    The server may support many SASL mechanisms to use for authenticating. Out of the box Smack provides several SASL mechanisms, but it is possible to register new SASL Mechanisms. Use registerSASLMechanism(SASLMechanism) to register a new mechanisms.

    See Also: