public abstract class AbstractSaslClientCallbackHandler extends Object implements CallbackHandler
Modifier and Type | Field and Description |
---|---|
protected String |
_password |
protected String |
_username |
protected static String |
PASSWORD |
protected static String |
USERNAME |
Constructor and Description |
---|
AbstractSaslClientCallbackHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handle(Callback[] callbacks)
This method is invoked by SASL for authentication challenges
|
protected static final String USERNAME
protected static final String PASSWORD
protected String _username
protected String _password
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
This method is invoked by SASL for authentication challenges
handle
in interface CallbackHandler
callbacks
- a collection of challenge callbacksIOException
UnsupportedCallbackException
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.