public interface ProtonSaslAuthenticator
Modifier and Type | Method and Description |
---|---|
void |
init(io.vertx.core.net.NetSocket socket,
ProtonConnection protonConnection,
org.apache.qpid.proton.engine.Transport transport) |
void |
process(io.vertx.core.Handler<Boolean> completionHandler)
Process the SASL authentication cycle until such time as an outcome is determined.
|
boolean |
succeeded()
Once called after process finished it returns true if the authentication succeeded.
|
void init(io.vertx.core.net.NetSocket socket, ProtonConnection protonConnection, org.apache.qpid.proton.engine.Transport transport)
void process(io.vertx.core.Handler<Boolean> completionHandler)
succeeded()
.
Any processing of the connection and/or transport objects MUST occur on the calling Context
, and the
completion handler MUST be invoked on this same context also. If the completion handler is called on another
context an IllegalStateException
will be thrown.completionHandler
- handler to call when processing of the current state is complete. Value given is true if the SASL
handshake completed.boolean succeeded()
Copyright © 2018 Eclipse. All rights reserved.