Class PlainSaslClientCallbackHandler
- java.lang.Object
-
- alluxio.security.authentication.plain.PlainSaslClientCallbackHandler
-
- All Implemented Interfaces:
javax.security.auth.callback.CallbackHandler
public final class PlainSaslClientCallbackHandler extends java.lang.Object implements javax.security.auth.callback.CallbackHandler
A client side callback to put application provided username/password into SASL transport.
-
-
Constructor Summary
Constructors Constructor Description PlainSaslClientCallbackHandler(java.lang.String userName, java.lang.String password)
Constructs a new client side callback.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(javax.security.auth.callback.Callback[] callbacks)
-
-
-
Method Detail
-
handle
public void handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException
- Specified by:
handle
in interfacejavax.security.auth.callback.CallbackHandler
- Throws:
java.io.IOException
javax.security.auth.callback.UnsupportedCallbackException
-
-