public class ConsoleInputHandler extends Object implements CallbackHandler
CallbackHandler,
handle(Callback[])| Constructor and Description |
|---|
ConsoleInputHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(Callback[] callbacks)
Sets any NameCallback name property to the instance username,
sets any PasswordCallback password property to the instance, and any
password.
|
public void handle(Callback[] callbacks) throws UnsupportedCallbackException
handle in interface CallbackHandlerUnsupportedCallbackException, - thrown if any callback of
type other than NameCallback or PasswordCallback are seen.UnsupportedCallbackExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.