Class ClientCallbackHandler
java.lang.Object
org.apache.storm.security.auth.kerberos.ClientCallbackHandler
- All Implemented Interfaces:
CallbackHandler
SASL client side callback handler.
-
Constructor Summary
ConstructorDescriptionClientCallbackHandler
(Map<String, Object> topoConf) Constructor based on a JAAS configuration. -
Method Summary
-
Constructor Details
-
ClientCallbackHandler
Constructor based on a JAAS configuration.For digest, you should have a pair of user name and password defined in this figgure.
- Throws:
IOException
-
-
Method Details
-
handle
This method is invoked by SASL for authentication challenges.- Specified by:
handle
in interfaceCallbackHandler
- Parameters:
callbacks
- a collection of challenge callbacks- Throws:
IOException
UnsupportedCallbackException
-