Uses of Interface
org.apache.qpid.protonj2.engine.sasl.SaslServerContext
Package
Description
-
Uses of SaslServerContext in org.apache.qpid.protonj2.engine
Modifier and TypeMethodDescriptionEngineSaslDriver.server()
Configure thisEngineSaslDriver
to operate in server mode and return the associatedSaslServerContext
instance that should be used to complete the SASL negotiation with the client end. -
Uses of SaslServerContext in org.apache.qpid.protonj2.engine.impl
-
Uses of SaslServerContext in org.apache.qpid.protonj2.engine.sasl
Modifier and TypeMethodDescriptionSaslServerContext.saslFailure
(SaslException failure) Allows the server implementation to fail the SASL negotiation process due to some unrecoverable error.SaslServerContext.sendChallenge
(ProtonBuffer challenge) Sends the SASL challenge defined by the SASL mechanism that is in use during this SASL negotiation.default SaslServerContext
SaslServerContext.sendMechanisms
(String[] mechanisms) Sends the set of supported mechanisms to the SASL client from which it must choose and return one mechanism which will then be the basis for the SASL authentication negotiation.SaslServerContext.sendMechanisms
(Symbol[] mechanisms) Sends the set of supported mechanisms to the SASL client from which it must choose and return one mechanism which will then be the basis for the SASL authentication negotiation.SaslServerContext.sendOutcome
(SaslOutcome outcome, ProtonBuffer additional) Sends a response to a server side challenge that comprises the challenge / response exchange for the chosen SASL mechanism.SaslServerContext.setListener
(SaslServerListener listener) Sets theSaslServerListener
that will be used to driver the server side SASL negotiations with a connected "client".Modifier and TypeMethodDescriptionvoid
SaslServerListener.handleSaslHeader
(SaslServerContext context, AMQPHeader header) Called when the SASL header has been received and the server is now ready to send the configured SASL mechanisms.void
SaslServerListener.handleSaslInit
(SaslServerContext context, Symbol mechanism, ProtonBuffer initResponse) Called when a SASL init frame has arrived from the client indicating the chosen SASL mechanism and the initial response data if any.void
SaslServerListener.handleSaslResponse
(SaslServerContext context, ProtonBuffer response) Called when a SASL response frame has arrived from the client.default void
SaslServerListener.initialize
(SaslServerContext context) Called to give the application code a clear point to initialize all the Server side expectations.