|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.security.auth.callback.ConsoleInputHandler
An implementation of CallbackHandler that obtains the values for NameCallback and PasswordCallback from the console.
CallbackHandler
,
handle(Callback[])
Constructor Summary | |
ConsoleInputHandler()
|
Method Summary | |
void |
handle(javax.security.auth.callback.Callback[] callbacks)
Sets any NameCallback name property to the instance username, sets any PasswordCallback password property to the instance, and any password. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConsoleInputHandler()
Method Detail |
public void handle(javax.security.auth.callback.Callback[] callbacks) throws javax.security.auth.callback.UnsupportedCallbackException
handle
in interface javax.security.auth.callback.CallbackHandler
UnsupportedCallbackException,
- thrown if any callback of
type other than NameCallback or PasswordCallback are seen.
javax.security.auth.callback.UnsupportedCallbackException
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |