public class PlainTextCallbackHandler extends Object implements CallbackHandler
Common callback handler for NameCallback and PasswordCallback. Used by PlainTextLoginModule and PlainTextSaslNettyClient.
Constructor and Description |
---|
PlainTextCallbackHandler(String username,
String password) |
Modifier and Type | Method and Description |
---|---|
void |
handle(Callback[] callbacks)
Call functions for username & password for SASL callbacks.
|
public void handle(Callback[] callbacks) throws UnsupportedCallbackException
handle
in interface CallbackHandler
callbacks
- SASL callback arrayUnsupportedCallbackException
- If callback array includes unknown type.Copyright © 2019 CorfuDB. All rights reserved.