public final class PlainSaslServerCallbackHandler extends Object implements CallbackHandler
Constructor and Description |
---|
PlainSaslServerCallbackHandler(AuthenticationProvider authenticationProvider,
Runnable callback)
Constructs a new callback handler.
|
public PlainSaslServerCallbackHandler(AuthenticationProvider authenticationProvider, Runnable callback)
authenticationProvider
- the authentication provider usedcallback
- the callback runs when the authentication is establishedpublic void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
handle
in interface CallbackHandler
IOException
UnsupportedCallbackException
Copyright © 2023. All Rights Reserved.