KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > dinamica > security > Logout


1 package dinamica.security;
2
3 import dinamica.GenericTransaction;
4 import dinamica.Recordset;
5
6 /**
7  * Invalidates session.
8  * <br><br>
9  * (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
17     /* (non-Javadoc)
18      * @see dinamica.GenericTransaction#service(dinamica.Recordset)
19      */

20     public int service(Recordset inputParams) throws Throwable JavaDoc
21     {
22         getSession().invalidate();
23         return 0;
24     }
25
26 }
27
Popular Tags