Class Mechanisms

    • Method Detail

      • getMechanisms

        public final List<String> getMechanisms()
        Gets the list of mechanisms supported by the server.
        Returns:
        The list of mechanisms.s
      • isMandatory

        public final boolean isMandatory()
        Returns always true, because SASL is mandatory to negotiate.

        6.3.1. Mandatory-to-Negotiate

        The parties to a stream MUST consider SASL as mandatory-to-negotiate.

        Overrides:
        isMandatory in class StreamFeature
        Returns:
        True. This feature is always mandatory to negotiate.
      • getPriority

        public final int getPriority()
        Description copied from class: StreamFeature
        Gets the priority of the feature, i.e. when it will be negotiated during feature negotiation.
        Overrides:
        getPriority in class StreamFeature
        Returns:
        The priority.
      • requiresRestart

        public final boolean requiresRestart()
        Description copied from class: StreamFeature
        If this feature requires a stream restart after it has been negotiated.
        Overrides:
        requiresRestart in class StreamFeature
        Returns:
        True, if a stream restart is required.