[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-4099) Simplify wiki login procedure

Christian Bauer (JIRA) jira-events at lists.jboss.org
Tue Apr 14 11:47:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBSEAM-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Bauer closed JBSEAM-4099.
-----------------------------------

    Fix Version/s: 2.1.2.GA
                       (was: 2.2.0.CR1)
       Resolution: Done


> Simplify wiki login procedure
> -----------------------------
>
>                 Key: JBSEAM-4099
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4099
>             Project: Seam
>          Issue Type: Task
>          Components: Wiki
>            Reporter: Christian Bauer
>            Assignee: Christian Bauer
>            Priority: Minor
>             Fix For: 2.1.2.GA
>
>
> The wiki has complex routines to handle a user login. We don't just simply redirect to the start page after a login, we do everything we can to make sure that a login doesn't interrupt existing conversations or redirect the user away from the current page (and form!). This involves resetting the persistence context and making sure that caches and all state is updated with the (raised) privileges.
> We can simplify this to:
> - when a user logs in and the DocumentHome instance is managed (user is looking at a regular wiki page, maybe with an AJAX form open), execute an HTTP redirect to the current page
> - when no DocumentHome is managed (user is browsing directory, members, history, i.e. is not looking at a regular wiki page), we redirect to the wiki start page
> - we kill all existing conversations and force a restart with fresh state after login and before redirect
> Not as nice but easier to maintain.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list