public class SaslCallbackHandler extends Object implements CallbackHandler
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG
The logger.
|
private SaslRequest |
saslReq
The sasl request.
|
| Constructor and Description |
|---|
SaslCallbackHandler(SaslRequest saslReq)
Instantiates a new SASL callback handler.
|
| Modifier and Type | Method and Description |
|---|---|
private String |
getRealmNamesAsString(String[] realmNames)
Gets the realm names as a string.
|
void |
handle(Callback[] callbacks) |
private SaslRequest saslReq
private static final org.slf4j.Logger LOG
public SaslCallbackHandler(SaslRequest saslReq)
saslReq - the SASL requestpublic void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
handle in interface CallbackHandlerIOExceptionUnsupportedCallbackExceptionCopyright © 2009–2019 The Apache Software Foundation. All rights reserved.