java.lang.Object
org.opensst.client.ui.adc.CommandLineAuthenticationDataCollector
- All Implemented Interfaces:
- AuthenticationDataCollector
- public class CommandLineAuthenticationDataCollector
- extends java.lang.Object
- implements AuthenticationDataCollector
This is an authentication data collector.
This simple class uses the command line to ask for the data. It can easily be replaced
by anything else (Swing, HTML, ...)
$Date: 2002/09/27 08:52:38 $
- Version:
- $Revision: 1.1 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private org.opensst.util.log.OpenSSTLogger logger
CommandLineAuthenticationDataCollector
public CommandLineAuthenticationDataCollector()
- Constructor for CommandLineAuthenticationDataCollector.
init
public void init(java.lang.Object initData)
- Description copied from interface:
AuthenticationDataCollector
- Give a chance to the UI to initialize itself.
This method should perform all the initialization steps and left the
object in a ready-to-be displayed state
- Specified by:
init in interface AuthenticationDataCollector
collect
public AuthenticationData collect()
- Description copied from interface:
AuthenticationDataCollector
- Let's start the data collection mecanisms. This method is synchronous
and only return when all the data are collected
- Specified by:
collect in interface AuthenticationDataCollector
done
public void done()
- Description copied from interface:
AuthenticationDataCollector
- Give a chance to properly clean up any used resources.
- Specified by:
done in interface AuthenticationDataCollector
readLine
private java.lang.String readLine(java.lang.String prompt)
- Read a line of data on the default input.