On Thu, Dec 23, 2010 at 11:19 AM, Ron Wheeler
<rwhee...@artifact-software.com> wrote:
> We are building  a Jetspeed portal that will have 2 paths to the login.
> There is a normal login where the user arrives at the site on the home page
> and then logins in. In this case, the user should end up on a "My Portal"
> where they have a welcome screen and some menus. Pretty standard stuff.
>
> In the second case, the user arrives from another site using a URL that
> identifies a sub site that is used to dynamically brand the portal and to
> put some items into a table in a portlet.
> From the opening screen, they select some items to purchase and then are
> asked to log in. Once they log in, we want to continue on through the
> purchase process with the same branding and same list of products to
> purchase.
>
> How do we modify the jetspeed login process to make sure that the user gets
> back to the middle of the process?
>
You could use a second cookie to track your purchased products. That
way you would not need to modify the jetspeed login process. Note
there is also a setting you can change a configuration value in
administration.xml to not create a new session upon login (if you want
to use the default jetspeed session):

  <bean 
id='org.apache.jetspeed.administration.PortalAuthenticationConfiguration'
    
class='org.apache.jetspeed.administration.PortalAuthenticationConfigurationImpl'>
    <meta key="j2:cat" value="default" />

    <!--  create new session upon authentication -->
    <constructor-arg index='0'>
      <value>true</value>


> We do know that we have to save the state prior to the login since the
> Jetspeed login will create a new session and invalidate the old one so that
> we have to modify the security portion of Jetspeed to copy the saved state
> information into the new session before invalidating the old one.
>
> The question is about the best way to modify the pipeline to make sure that
> the right page is displayed after the login.
>
Im not sure if you have to modify anything. If you are using subsites,
you will stay within that subsite upon login

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org

Reply via email to