tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfarc...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session StandardSession.java
Date Mon, 07 Apr 2003 21:27:36 GMT
jfarcand    2003/04/07 14:27:36

  Modified:    jsr154/src/share/javax/servlet/http HttpSession.java
               catalina/src/share/org/apache/catalina/session
                        StandardSession.java
  Log:
  As required by the upcoming Servlet spec 2.4 PFD 3, remove the logout() method.
  
  Revision  Changes    Path
  1.3       +0 -15     jakarta-servletapi-5/jsr154/src/share/javax/servlet/http/HttpSession.java
  
  Index: HttpSession.java
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/src/share/javax/servlet/http/HttpSession.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- HttpSession.java	22 Mar 2003 15:22:00 -0000	1.2
  +++ HttpSession.java	7 Apr 2003 21:27:36 -0000	1.3
  @@ -463,21 +463,6 @@
       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
  -     *
  -     * @since 2.4
  -     */
  -    public void logout();
   
   }
   
  
  
  
  1.16      +4 -33     jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session/StandardSession.java
  
  Index: StandardSession.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session/StandardSession.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- StandardSession.java	13 Mar 2003 02:26:32 -0000	1.15
  +++ StandardSession.java	7 Apr 2003 21:27:36 -0000	1.16
  @@ -1085,35 +1085,6 @@
       }
   
   
  -    /**
  -     *
  -     * 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(){
  -
  -        if (!isValid)
  -            throw new IllegalStateException
  -                (sm.getString("standardSession.isNew.ise"));
  -
  -        // NOTE: The SingleSignOn Valve/SessionListener will expire
  -        // all sessions, if it is being used.
  -        fireSessionEvent(Session.SESSION_DESTROYED_EVENT, "logout");
  - 
  -        // If the SingleSignOn didnt expire it, lets do it now.
  -        if (isValid) 
  -            expire(false);
  -
  -    }
  -
  -
   
       /**
        * Bind an object to this session, using the specified name.  If an object
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message