Package org.apache.qpid.proton.engine
Interface SaslListener
public interface SaslListener
Listener for SASL frame arrival to facilitate relevant handling for the SASL
negotiation.
See the AMQP specification
SASL negotiation process overview for related detail.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.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.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.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.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.
-
Method Details
-
onSaslMechanisms
Called when a sasl-mechanisms frame has arrived and its effect applied, indicating the offered mechanisms sent by the 'server' peer.- Parameters:
sasl
- the Sasl objecttransport
- the related transport
-
onSaslInit
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.- Parameters:
sasl
- the Sasl objecttransport
- the related transport
-
onSaslChallenge
Called when a sasl-challenge frame has arrived and its effect applied, indicating the challenge sent by the 'server' peer.- Parameters:
sasl
- the Sasl objecttransport
- the related transport
-
onSaslResponse
Called when a sasl-response frame has arrived and its effect applied, indicating the response sent by the 'client' peer.- Parameters:
sasl
- the Sasl objecttransport
- the related transport
-
onSaslOutcome
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.- Parameters:
sasl
- the Sasl objecttransport
- the related transport
-