Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-1339

Simplify/unify session and xactn management for Wicket viewer and RO viewer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.11.1
    • 2.0.0-M3
    • Core, Viewer RO, Viewer Wicket
    • None

    Description

      Move the responsibility for session management / xactn mgmt out into a filter, and remove corresponding functionality within Wicket viewer's RequestCycle.

      ~~~
      in a little more detail:

      move bootstrapping out of IsisWicketApplication and into IsisWebAppBootstrapper

      • by filters (pick up from ServletRequest)
      • replace by binding IsisSessionFactory
      • final IsisSystem system = (IsisSystem) servletContext.getAttribute(WebAppConstants.ISIS_SYSTEM_KEY);
      • from RO viewer (pick up from ServletRequest)
      • from at least some of the Wicket viewer (top-level application stuff, WebRequestCycle etc,... pick up from ServletRequest)

      ~~~
      also:
      remove WebAppConstants.HTTP_SESSION_LOGGED_ON_PREVIOUSLY_USING_LOGON_FIXTURE_KEY and LogonFixture, since not currently supported and no-one has missed it.

      Attachments

        Activity

          People

            Unassigned Unassigned
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: