public class ClientCallbackHandler extends Object implements CallbackHandler
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
For digest, you should have a pair of user name and password defined in this figgure.
IOException
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
handle
in interface CallbackHandler
callbacks
- a collection of challenge callbacksIOException
UnsupportedCallbackException
Copyright © 2023 The Apache Software Foundation. All rights reserved.