org.cli4j.commands
Class Login

java.lang.Object
  |
  +--org.cli4j.AbstractCommand
        |
        +--org.cli4j.commands.Login
All Implemented Interfaces:
Command

public class Login
extends AbstractCommand


Field Summary
static java.lang.String CONTEXT_UID_KEY
           
 
Fields inherited from interface org.cli4j.Command
IDENT
 
Constructor Summary
Login()
           
 
Method Summary
protected  boolean authenticate(java.lang.String uid, java.lang.String psswd)
           
 void execute(Context context, java.lang.String[] arguments)
           
 void start(Context context)
           
 
Methods inherited from class org.cli4j.AbstractCommand
stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTEXT_UID_KEY

public static final java.lang.String CONTEXT_UID_KEY
Constructor Detail

Login

public Login()
Method Detail

start

public void start(Context context)
           throws CliException
Overrides:
start in class AbstractCommand

execute

public void execute(Context context,
                    java.lang.String[] arguments)
             throws CliException
Overrides:
execute in class AbstractCommand

authenticate

protected boolean authenticate(java.lang.String uid,
                               java.lang.String psswd)