You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by pa...@apache.org on 2002/08/08 06:02:53 UTC
cvs commit: jakarta-servletapi-5/src/share/javax/servlet/http HttpSession.java
patrickl 2002/08/07 21:02:52
Modified: src/share/javax/servlet/http HttpSession.java
Log:
The 2.4 Serlvet spec includes a new method HttpSession.logout() (see section 15.1.7)
Submitted by: Bob Herrmann (bob@jadn.com)
Revision Changes Path
1.2 +16 -0 jakarta-servletapi-5/src/share/javax/servlet/http/HttpSession.java
Index: HttpSession.java
===================================================================
RCS file: /home/cvs/jakarta-servletapi-5/src/share/javax/servlet/http/HttpSession.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- HttpSession.java 16 Jul 2002 16:38:41 -0000 1.1
+++ HttpSession.java 8 Aug 2002 04:02:52 -0000 1.2
@@ -461,5 +461,21 @@
*/
public boolean isNew();
+
+
+ /**
+ *
+ * Logs the client out of the web server and invalidates all
+ * sessions associated with this client. The scope of the logout
+ * is the same as the scope of the authentication. For example, if
+ * the servlet container implements single signon, the logout logs
+ * the client out of all web applications on the servlet container
+ * and invalidates all sessions associated with the same client.
+ *
+ * @exception IllegalStateException if this method is called on an
+ * already invalidated session
+ */
+ public void logout();
+
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>