|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectno.feide.mellon.jaas.callbackhandlers.CommandlineCallbackHandler
public class CommandlineCallbackHandler
ConsoleCallbackHandler prompts and reads from the command line for username and password.
Constructor Summary | |
---|---|
CommandlineCallbackHandler()
|
Method Summary | |
---|---|
void |
handle(javax.security.auth.callback.Callback[] callbacks)
Handles the specified set of callbacks. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommandlineCallbackHandler()
Method Detail |
---|
public void handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException
handle
in interface javax.security.auth.callback.CallbackHandler
callbacks
- the callbacks to handle
java.io.IOException
- if an input or output error occurs.
javax.security.auth.callback.UnsupportedCallbackException
- if the callback is not an
instance of NameCallback or PasswordCallback
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |