public class ProtonSaslServerAuthenticatorImpl extends Object implements ProtonSaslAuthenticator
| Constructor and Description |
|---|
ProtonSaslServerAuthenticatorImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(NetSocket socket,
ProtonConnection protonConnection,
org.apache.qpid.proton.engine.Transport transport) |
void |
process(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.
|
public void init(NetSocket socket, ProtonConnection protonConnection, org.apache.qpid.proton.engine.Transport transport)
init in interface ProtonSaslAuthenticatorpublic void process(Handler<Boolean> completionHandler)
ProtonSaslAuthenticatorProtonSaslAuthenticator.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.process in interface ProtonSaslAuthenticatorcompletionHandler - handler to call when processing of the current state is complete. Value given is true if the SASL
handshake completed.public boolean succeeded()
ProtonSaslAuthenticatorsucceeded in interface ProtonSaslAuthenticatorCopyright © 2020. All rights reserved.