Class SimpleSaslClientCallbackHandler
java.lang.Object
org.apache.storm.security.auth.sasl.SimpleSaslClientCallbackHandler
- All Implemented Interfaces:
CallbackHandler
- Direct Known Subclasses:
PlainClientCallbackHandler
,WorkerTokenClientCallbackHandler
A client callback handler that supports a single username and password.
-
Constructor Summary
ConstructorDescriptionSimpleSaslClientCallbackHandler
(String username, String password) Constructor. -
Method Summary
-
Constructor Details
-
SimpleSaslClientCallbackHandler
Constructor.- Parameters:
username
- the username to use.password
- the password to use.
-
-
Method Details
-
handle
- Specified by:
handle
in interfaceCallbackHandler
- Throws:
UnsupportedCallbackException
-