Uses of Interface
org.apache.qpid.protonj2.engine.sasl.SaslServerContext
-
Packages that use SaslServerContext Package Description org.apache.qpid.protonj2.engine org.apache.qpid.protonj2.engine.impl org.apache.qpid.protonj2.engine.sasl -
-
Uses of SaslServerContext in org.apache.qpid.protonj2.engine
Methods in org.apache.qpid.protonj2.engine that return SaslServerContext Modifier and Type Method Description SaslServerContext
EngineSaslDriver. 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
Methods in org.apache.qpid.protonj2.engine.impl that return SaslServerContext Modifier and Type Method Description SaslServerContext
ProtonEngineNoOpSaslDriver. server()
-
Uses of SaslServerContext in org.apache.qpid.protonj2.engine.sasl
Methods in org.apache.qpid.protonj2.engine.sasl that return SaslServerContext Modifier and Type Method Description SaslServerContext
SaslServerContext. saslFailure(javax.security.sasl.SaslException failure)
Allows the server implementation to fail the SASL negotiation process due to some unrecoverable error.SaslServerContext
SaslServerContext. sendChallenge(ProtonBuffer challenge)
Sends the SASL challenge defined by the SASL mechanism that is in use during this SASL negotiation.SaslServerContext
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
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
SaslServerContext. setListener(SaslServerListener listener)
Sets theSaslServerListener
that will be used to driver the server side SASL negotiations with a connected "client".Methods in org.apache.qpid.protonj2.engine.sasl with parameters of type SaslServerContext Modifier and Type Method Description void
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.
-