Class SimpleSaslServerCallbackHandler
java.lang.Object
org.apache.storm.security.auth.sasl.SimpleSaslServerCallbackHandler
- All Implemented Interfaces:
CallbackHandler
-
Constructor Summary
ConstructorDescriptionSimpleSaslServerCallbackHandler
(boolean impersonationAllowed, List<PasswordProvider> providers) Constructor with different password providers.SimpleSaslServerCallbackHandler
(boolean impersonationAllowed, PasswordProvider... providers) Constructor with different password providers. -
Method Summary
-
Constructor Details
-
SimpleSaslServerCallbackHandler
Constructor with different password providers.- Parameters:
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.
-
SimpleSaslServerCallbackHandler
public SimpleSaslServerCallbackHandler(boolean impersonationAllowed, List<PasswordProvider> providers) Constructor with different password providers.- Parameters:
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.
-
-
Method Details
-
handle
- Specified by:
handle
in interfaceCallbackHandler
- Throws:
UnsupportedCallbackException
IOException
-