SaslListener

Listener for SASL frame arrival to facilitate relevant handling for the SASL negotiation.

See the AMQP specification <a href="http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-security-v1.0-os.html#doc-idp51040"> SASL negotiation process</a> overview for related detail.

Members

Functions

onSaslChallenge
void onSaslChallenge(Sasl sasl, Transport transport)

Called when a sasl-challenge frame has arrived and its effect applied, indicating the challenge sent by the 'server' peer.

onSaslInit
void onSaslInit(Sasl sasl, Transport transport)

Called when a sasl-init frame has arrived and its effect applied, indicating the selected mechanism and any hostname and initial-response details from the 'client' peer.

onSaslMechanisms
void onSaslMechanisms(Sasl sasl, Transport transport)

Called when a sasl-mechanisms frame has arrived and its effect applied, indicating the offered mechanisms sent by the 'server' peer.

onSaslOutcome
void onSaslOutcome(Sasl sasl, Transport transport)

Called when a sasl-outcome frame has arrived and its effect applied, indicating the outcome and any success additional-data sent by the 'server' peer.

onSaslResponse
void onSaslResponse(Sasl sasl, Transport transport)

Called when a sasl-response frame has arrived and its effect applied, indicating the response sent by the 'client' peer.

Meta