Class FanOutOneBlockAsyncDFSOutputSaslHelper.SaslClientCallbackHandler
java.lang.Object
org.apache.hadoop.hbase.io.asyncfs.FanOutOneBlockAsyncDFSOutputSaslHelper.SaslClientCallbackHandler
- All Implemented Interfaces:
CallbackHandler
- Enclosing class:
- FanOutOneBlockAsyncDFSOutputSaslHelper
private static final class FanOutOneBlockAsyncDFSOutputSaslHelper.SaslClientCallbackHandler
extends Object
implements CallbackHandler
Sets user name and password when asked by the client-side SASL object.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSaslClientCallbackHandler
(String userName, char[] password) Creates a new SaslClientCallbackHandler. -
Method Summary
-
Field Details
-
password
-
userName
-
-
Constructor Details
-
SaslClientCallbackHandler
Creates a new SaslClientCallbackHandler.- Parameters:
userName
- SASL user namepassword
- SASL password
-
-
Method Details
-
handle
- Specified by:
handle
in interfaceCallbackHandler
- Throws:
IOException
UnsupportedCallbackException
-