public class ClientCallbackHandler extends Object implements CallbackHandler
SASL client side callback handler.
| Constructor and Description |
|---|
ClientCallbackHandler(Map<String,Object> topoConf)
Constructor based on a JAAS configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handle(Callback[] callbacks)
This method is invoked by SASL for authentication challenges.
|
public ClientCallbackHandler(Map<String,Object> topoConf) throws IOException
Constructor based on a JAAS configuration.
For digest, you should have a pair of user name and password defined in this figgure.
IOExceptionpublic void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
This method is invoked by SASL for authentication challenges.
handle in interface CallbackHandlercallbacks - a collection of challenge callbacksIOExceptionUnsupportedCallbackExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.