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 thisEngineSaslDriverto operate in client mode and return the associatedSaslClientContextinstance 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 SaslClientContextSaslClientContext.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 theSaslClientListenerthat 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 TypeMethodDescriptionvoidSaslClientListener.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.voidSaslClientListener.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.voidSaslClientListener.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 voidSaslClientListener.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 TypeMethodDescriptionvoidSaslAuthenticator.handleSaslChallenge(SaslClientContext context, ProtonBuffer challenge) voidSaslAuthenticator.handleSaslMechanisms(SaslClientContext context, Symbol[] mechanisms) voidSaslAuthenticator.handleSaslOutcome(SaslClientContext context, SaslOutcome outcome, ProtonBuffer additional)