jtge.engine.security
Class LoginOrder

java.lang.Object
  extended byjtge.engine.command.AbstractCommand
      extended byjtge.engine.command.AbstractOrder
          extended byjtge.engine.security.LoginOrder
All Implemented Interfaces:
ICommand, ILoginCommand, java.io.Serializable

public class LoginOrder
extends AbstractOrder
implements ILoginCommand

Implements a login order.

This order must be sent from a client to a server expecting user identification as the first command upon connection.

Version:
$Revision: 1.2 $ $Date: 2005/09/10 14:05:52 $
Author:
Mathieu Champlon
See Also:
Serialized Form

Constructor Summary
LoginOrder(IUser user)
          Create a login order.
 
Method Summary
 void execute(IContext context)
          Execute the command.
 
Methods inherited from class jtge.engine.command.AbstractOrder
getUser, validate
 
Methods inherited from class jtge.engine.command.AbstractCommand
filter, sort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jtge.engine.command.ICommand
filter, sort, validate
 

Constructor Detail

LoginOrder

public LoginOrder(IUser user)
Create a login order.

Parameters:
user - the user to log in
Method Detail

execute

public final void execute(IContext context)
Execute the command.

Specified by:
execute in interface ICommand
Parameters:
context - the context in which to execute the command


Copyright © 2003-2005 . All Rights Reserved.