backtype.storm.security.auth.digest
Class ClientCallbackHandler
java.lang.Object
backtype.storm.security.auth.digest.ClientCallbackHandler
- All Implemented Interfaces:
- CallbackHandler
public class ClientCallbackHandler
- extends Object
- implements CallbackHandler
client side callback handler.
|
Constructor Summary |
ClientCallbackHandler(Configuration configuration)
Constructor based on a JAAS configuration
For digest, you should have a pair of user name and password defined. |
|
Method Summary |
void |
handle(Callback[] callbacks)
This method is invoked by SASL for authentication challenges |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientCallbackHandler
public ClientCallbackHandler(Configuration configuration)
throws IOException
- Constructor based on a JAAS configuration
For digest, you should have a pair of user name and password defined.
- Parameters:
configuration -
- Throws:
IOException
handle
public void handle(Callback[] callbacks)
throws IOException,
UnsupportedCallbackException
- This method is invoked by SASL for authentication challenges
- Specified by:
handle in interface CallbackHandler
- Parameters:
callbacks - a collection of challenge callbacks
- Throws:
IOException
UnsupportedCallbackException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.