|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjtge.engine.security.LoginHandler
Implements a security handler to handle login commands and logout events for a given input.
TODO abtract dispatching based on a filter
| Constructor Summary | |
LoginHandler(IInput input,
IUserManager manager,
IUserHandlerFactory factory)
Create a login handler. |
|
| Method Summary | |
void |
handle(ICommand command)
Handle a command. |
void |
login(IUser user)
Notify a user logging in. |
void |
logout(IUser user)
Notify a user logging out. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LoginHandler(IInput input,
IUserManager manager,
IUserHandlerFactory factory)
input - the input to watchmanager - the user managerfactory - the user handler factory| Method Detail |
public final void handle(ICommand command)
handle in interface IConsumercommand - the command to handlepublic final void login(IUser user)
login in interface ILoginViewuser - the user logging inpublic final void logout(IUser user)
logout in interface ILoginViewuser - the user logging out
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||