|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjhomenet.security.DefaultConsoleCallbackHandler
public class DefaultConsoleCallbackHandler
ConsoleCallbackHandler prompts and reads from the command line console line for username and password. This can be used by a JAAS application to instantiate a CallbackHandler.
| Constructor Summary | |
|---|---|
DefaultConsoleCallbackHandler()
Default constructor. |
|
| 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 DefaultConsoleCallbackHandler()
| 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.CallbackHandlerjava.io.IOException
javax.security.auth.callback.UnsupportedCallbackExceptionCallbackHandler.handle(javax.security.auth.callback.Callback[])
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||