private static final class FanOutOneBlockAsyncDFSOutputSaslHelper.SaslClientCallbackHandler extends Object implements CallbackHandler
Modifier and Type | Field and Description |
---|---|
private char[] |
password |
private String |
userName |
Constructor and Description |
---|
SaslClientCallbackHandler(String userName,
char[] password)
Creates a new SaslClientCallbackHandler.
|
public SaslClientCallbackHandler(String userName, char[] password)
userName
- SASL user namepassword
- SASL passwordpublic void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
handle
in interface CallbackHandler
IOException
UnsupportedCallbackException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.