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