[ 
https://issues.apache.org/jira/browse/ISIS-1339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Haywood updated ISIS-1339:
------------------------------
    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.



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


> Simplify/unify session and xactn management for Wicket viewer and RO viewer
> ---------------------------------------------------------------------------
>
>                 Key: ISIS-1339
>                 URL: https://issues.apache.org/jira/browse/ISIS-1339
>             Project: Isis
>          Issue Type: Improvement
>          Components: Core, Core: Viewer: RestfulObjects, Core: Viewer: Wicket
>    Affects Versions: 1.11.1
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>            Priority: Minor
>             Fix For: 1.14.0
>
>
> 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.



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

Reply via email to