Class SimpleSaslClientCallbackHandler
- java.lang.Object
-
- org.apache.storm.security.auth.sasl.SimpleSaslClientCallbackHandler
-
- All Implemented Interfaces:
CallbackHandler
- Direct Known Subclasses:
PlainClientCallbackHandler
,WorkerTokenClientCallbackHandler
public class SimpleSaslClientCallbackHandler extends Object implements CallbackHandler
A client callback handler that supports a single username and password.
-
-
Constructor Summary
Constructors Constructor Description SimpleSaslClientCallbackHandler(String username, String password)
Constructor.
-
-
-
Method Detail
-
handle
public void handle(Callback[] callbacks) throws UnsupportedCallbackException
- Specified by:
handle
in interfaceCallbackHandler
- Throws:
UnsupportedCallbackException
-
-