Package com.sun.grid.security.login
Class ConsoleCallbackHandler
java.lang.Object
com.sun.grid.security.login.ConsoleCallbackHandler
- All Implemented Interfaces:
CallbackHandler
This
CallbackHandler
reads input from the console.
The following callback can be handled:
It uses the native library juti to turn of echoing.- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ConsoleCallbackHandler
public ConsoleCallbackHandler()
-
-
Method Details
-
handle
Handle callbacks- Specified by:
handle
in interfaceCallbackHandler
- Parameters:
callbacks
- array of callbacks- Throws:
IOException
- on an IO errorUnsupportedCallbackException
- if a callback is not supported
-