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 CallbackHandler
UnsupportedCallbackException,
- thrown if any callback of
type other than NameCallback or PasswordCallback are seen.UnsupportedCallbackException
Copyright © 2016 JBoss by Red Hat. All rights reserved.