Class Success

  • All Implemented Interfaces:
    StreamElement

    public final class Success
    extends Object
    implements StreamElement
    The implementation of the <success/> element, which indicates success during SASL negotiation.

    6.4.6. SASL Success

    The receiving entity reports success of the handshake by sending a <success/> element qualified by the 'urn:ietf:params:xml:ns:xmpp-sasl' namespace; this element MAY contain XML character data (in SASL terminology, "additional data with success") if the chosen SASL mechanism supports or requires it.

    This class is immutable.

    • Constructor Detail

      • Success

        public Success()
      • Success

        public Success​(byte[] additionalData)
    • Method Detail

      • getAdditionalData

        public final byte[] getAdditionalData()
        Gets additional data.

        This element MAY contain XML character data (in SASL terminology, "additional data with success") if the chosen SASL mechanism supports or requires it.

        Returns:
        Additional data.