You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Xavier Fournet (JIRA)" <ji...@apache.org> on 2015/11/25 15:23:12 UTC

[jira] [Created] (FELIX-5117) Call to SSOHttpSessionListener#sessionDestroyed is done after the session is invalidated

Xavier Fournet created FELIX-5117:
-------------------------------------

             Summary: Call to SSOHttpSessionListener#sessionDestroyed is done after the session is invalidated
                 Key: FELIX-5117
                 URL: https://issues.apache.org/jira/browse/FELIX-5117
             Project: Felix
          Issue Type: Bug
          Components: HTTP Service
    Affects Versions: http.jetty-3.1.2, http.jetty-3.1.0, http.base-3.0.2, http.base-3.0.0
            Reporter: Xavier Fournet


The javadoc of javax.servlet.http.HttpSessionListener#sessionDestroyed indicate that the method should called before the session is invalidated ("Receives notification that a session is about to be invalidated.").

This was working correctly with HTTP Felix 2.x but no more working with HTTP Felix 3.1.x because the method is called after the session is invalidated, so any attempt to get information from the session in this method will throw an exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)