ingo schuster wrote:
>
> Raphael,
>
> did you deliberatly change the "screen.mainmenu" keys into
> "screen.homepage" or was this by mistake?
It was delibarate because I didn't see a real use to this variable and I thought
it was a left over from an old Turbine version.
> I created the screen.mainmenu to provide the possibility of setting the
> portal homepage differently from the "Logged-in-user homepage",
> e.g.
>
> screen.homepage = login (i.e. users that are not logged in are sent to the
> login screen)
> screen.mainmenu = home (logged in users get the home screen [if no other
> screen is defined])
>
> Your changes would break this configurability.
>
This should be handled by the SessionValidator used: if the user in not
logged redirect to a login page, if it's logged in and no screen is
specified use the screen.homepage.
It's a policy definition so should be an action in Turbine.
If you want to parametrize the policy by using a SessionValidator parameter,
that's fine but don't spread the policy all over the screens and actions
used by Jetspeed.
--
Rapha�l Luta - [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://marc.theaimsgroup.com/?l=jetspeed>
Problems?: [EMAIL PROTECTED]