01: package dinamica.security;
02:
03: import dinamica.GenericTransaction;
04: import dinamica.Recordset;
05:
06: /**
07: * Invalidates session.
08: * <br><br>
09: * (c) 2004 Martin Cordova<br>
10: * This code is released under the LGPL license<br>
11: * Dinamica Framework - http://www.martincordova.com
12: * @author Martin Cordova (dinamica@martincordova.com)
13: * */
14: public class Logout extends GenericTransaction {
15:
16: /* (non-Javadoc)
17: * @see dinamica.GenericTransaction#service(dinamica.Recordset)
18: */
19: public int service(Recordset inputParams) throws Throwable {
20: getSession().invalidate();
21: return 0;
22: }
23:
24: }
|