Uses of Interface
org.apache.qpid.protonj2.engine.sasl.SaslClientContext
-
Packages that use SaslClientContext Package Description org.apache.qpid.protonj2.engine org.apache.qpid.protonj2.engine.impl org.apache.qpid.protonj2.engine.sasl org.apache.qpid.protonj2.engine.sasl.client -
-
Uses of SaslClientContext in org.apache.qpid.protonj2.engine
Methods in org.apache.qpid.protonj2.engine that return SaslClientContext Modifier and Type Method Description SaslClientContext
EngineSaslDriver. 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 Modifier and Type Method Description SaslClientContext
ProtonEngineNoOpSaslDriver. client()
-
Uses of SaslClientContext in org.apache.qpid.protonj2.engine.sasl
Methods in org.apache.qpid.protonj2.engine.sasl that return SaslClientContext Modifier and Type Method Description SaslClientContext
SaslClientContext. saslFailure(SaslException failure)
Allows the client implementation to fail the SASL negotiation process due to some unrecoverable error.SaslClientContext
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
SaslClientContext. sendResponse(ProtonBuffer response)
Sends a response to a server side challenge that comprises the challenge / response exchange for the chosen SASL mechanism.SaslClientContext
SaslClientContext. sendSASLHeader()
Sends the AMQP Header indicating the desire for SASL negotiations to be commenced on this connection.SaslClientContext
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 SaslClientContext Modifier and Type Method Description void
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 SaslClientContext Modifier and Type Method Description void
SaslAuthenticator. handleSaslChallenge(SaslClientContext context, ProtonBuffer challenge)
void
SaslAuthenticator. handleSaslMechanisms(SaslClientContext context, Symbol[] mechanisms)
void
SaslAuthenticator. handleSaslOutcome(SaslClientContext context, SaslOutcome outcome, ProtonBuffer additional)
-