Hi dan,
Check out the code
LoginRedirectorServlet.java<http://svn.apache.org/viewcvs.cgi/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/login/LoginRedirectorServlet.java?view=markup>,
you can hard coding the redirect target psml by modify this class or set
Request parameter with name as the value of LoginConstants.DESTINATION and
value as your target psml.
If you want your 'dashboard' portlets page to be only viewable by logged in
users, you must setup the page constraints, check this
<http://portals.apache.org/jetspeed-2/guides/guide-security-declarative-psml.html>
out.

HTH,
- Jian Liao

On 2/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hello,
> I've currently got one portlet (login portlet) defined on my
> default-page.psml.
>
> After a user logs in, I want this portlet to disappear and be replaced by
> several other 'dashboard' portlets, only viewable by logged in users.
>
> Whats the easiest way of doing this? Can I add security to specific
> fragments
> within my psml file or is there a way I can automatically redirect logged
> in
> users to a new psml file containing my dashboard portlets?
> Thanks in advance
> Dan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
thanks,
- Jian Liao

Reply via email to