WebSphere Portal Server - Re: Custom Login - Redirect

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > October 2005 > Re: Custom Login - Redirect





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Custom Login - Redirect

2005-10-26, 6:03 pm

From custom LoginUserAuth class, based on business rules I am redirecting to a new(xxx) portlet. xxx portlet is placed in portal instead of myportal since I force user to go come to xxx before he accesses any other portlet.

In doPostLogin() method I am calling like this:
aRunData.setRedirectURL(http://servername:port/wps/portal/xxx)
super.doPostLogin(,,,)
My portlet is called and it works fine except for the following.
My problem is
1. Session values passed from custom login class are becoming null in my portlet xxx. I made public.session=true in config file but didnt resolve the issue.
2. How to get lLogged-in userid. request.getUser().getuserId is not working
3. I am concerned that what if user copy pastes the url in the browser he can reset the password? Is there any way to redirect user to main login page when he comes to xxx directly?

Any help is highly appreciated

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com