ICEfaces
  1. ICEfaces
  2. ICE-6379

Disable ICEfaces resource handlers when session invalid

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Beta2
    • Fix Version/s: 2.1-Beta, 3.0
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      server
    • Assignee Priority:
      P2

      Description

      The ICEfaces resource handlers that rely on the session need to be disabled when the session is invalid/expired during an AJAX request. The resource handlers do need to just delegate to their wrapped handler. This is a follow up for: ICE-6306 .

        Activity

        Mircea Toma created issue -
        Mircea Toma made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 2.1 [ 10241 ]
        Assignee Mircea Toma [ mircea.toma ]
        Mircea Toma made changes -
        Attachment ICE-6379.patch [ 12757 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #23555 Wed Dec 15 16:20:38 MST 2010 mircea.toma ICE-6379 Avoid NPE when session has expired.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/WindowScopeManager.java
        Ken Fyten made changes -
        Salesforce Case []
        Assignee Priority P2
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24902 Mon Jun 27 08:09:27 MDT 2011 mircea.toma ICE-6379 Introduced SessionAwareResourceHandlerWrapper to allow the by-passing of the session dependant functionality found in our resource handler when the session is invalid/expired.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/SessionTimeoutMonitor.java
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/util/EnvUtils.java
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/WindowScopeManager.java
        Commit graph ADD /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/SessionAwareResourceHandlerWrapper.java
        Hide
        Mircea Toma added a comment -

        Introduced SessionAwareResourceHandlerWrapper to allow the by-passing of the session dependant functionality found in our resource handler when the session is invalid/expired. If session is invalid the resource handler invocations are delegated to the underlying (wrapped) resource handlers.

        Show
        Mircea Toma added a comment - Introduced SessionAwareResourceHandlerWrapper to allow the by-passing of the session dependant functionality found in our resource handler when the session is invalid/expired. If session is invalid the resource handler invocations are delegated to the underlying (wrapped) resource handlers.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 2.1-Beta [ 10291 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Mircea Toma
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: