public class SimpleSaslServerCallbackHandler extends Object implements CallbackHandler
Constructor and Description |
---|
SimpleSaslServerCallbackHandler(boolean impersonationAllowed,
List<PasswordProvider> providers)
Constructor with different password providers.
|
SimpleSaslServerCallbackHandler(boolean impersonationAllowed,
PasswordProvider... providers)
Constructor with different password providers.
|
public SimpleSaslServerCallbackHandler(boolean impersonationAllowed, PasswordProvider... providers)
impersonationAllowed
- true if impersonation is allowed else false.providers
- what will provide a password. They will be checked in order, and the first one to return a password
wins.public SimpleSaslServerCallbackHandler(boolean impersonationAllowed, List<PasswordProvider> providers)
impersonationAllowed
- true if impersonation is allowed else false.providers
- what will provide a password. They will be checked in order, and the first one to return a password
wins.public void handle(Callback[] callbacks) throws UnsupportedCallbackException, IOException
handle
in interface CallbackHandler
UnsupportedCallbackException
IOException
Copyright © 2023 The Apache Software Foundation. All rights reserved.