Uses of Interface
org.apache.qpid.protonj2.engine.sasl.SaslClientContext
Packages that use SaslClientContext
Package
Description
-
Uses of SaslClientContext in org.apache.qpid.protonj2.engine
Methods in org.apache.qpid.protonj2.engine that return SaslClientContextModifier and TypeMethodDescriptionEngineSaslDriver.client()
Configure thisEngineSaslDriver
to operate in client mode and return the associatedSaslClientContext
instance that should be used to complete the SASL negotiation with the server end. -
Uses of SaslClientContext in org.apache.qpid.protonj2.engine.impl
Methods in org.apache.qpid.protonj2.engine.impl that return SaslClientContext -
Uses of SaslClientContext in org.apache.qpid.protonj2.engine.sasl
Methods in org.apache.qpid.protonj2.engine.sasl that return SaslClientContextModifier and TypeMethodDescriptionSaslClientContext.saslFailure
(SaslException failure) Allows the client implementation to fail the SASL negotiation process due to some unrecoverable error.default SaslClientContext
SaslClientContext.sendChosenMechanism
(String mechanism, String host, ProtonBuffer initialResponse) Sends a response to the SASL server indicating the chosen mechanism for this client and the host name that this client is identifying itself as.SaslClientContext.sendChosenMechanism
(Symbol mechanism, String host, ProtonBuffer initialResponse) Sends a response to the SASL server indicating the chosen mechanism for this client and the host name that this client is identifying itself as.SaslClientContext.sendResponse
(ProtonBuffer response) Sends a response to a server side challenge that comprises the challenge / response exchange for the chosen SASL mechanism.SaslClientContext.sendSASLHeader()
Sends the AMQP Header indicating the desire for SASL negotiations to be commenced on this connection.SaslClientContext.setListener
(SaslClientListener listener) Sets theSaslClientListener
that will be used to driver the client side SASL negotiations with a connected "server".Methods in org.apache.qpid.protonj2.engine.sasl with parameters of type SaslClientContextModifier and TypeMethodDescriptionvoid
SaslClientListener.handleSaslChallenge
(SaslClientContext context, ProtonBuffer challenge) Called when a SASL challenge frame has arrived and its effect applied, indicating the challenge sent by the 'server' peer.void
SaslClientListener.handleSaslMechanisms
(SaslClientContext context, Symbol[] mechanisms) Called when a SASL mechanisms frame has arrived and its effect applied, indicating the offered mechanisms sent by the 'server' peer.void
SaslClientListener.handleSaslOutcome
(SaslClientContext context, SaslOutcome outcome, ProtonBuffer additional) 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.default void
SaslClientListener.initialize
(SaslClientContext context) Called to give the application code a clear point to initialize all the client side expectations. -
Uses of SaslClientContext in org.apache.qpid.protonj2.engine.sasl.client
Methods in org.apache.qpid.protonj2.engine.sasl.client with parameters of type SaslClientContextModifier and TypeMethodDescriptionvoid
SaslAuthenticator.handleSaslChallenge
(SaslClientContext context, ProtonBuffer challenge) void
SaslAuthenticator.handleSaslMechanisms
(SaslClientContext context, Symbol[] mechanisms) void
SaslAuthenticator.handleSaslOutcome
(SaslClientContext context, SaslOutcome outcome, ProtonBuffer additional)