Custom Login - Redirect
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > Custom Login - Redirect




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Custom Login - Redirect  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-26-05 11:03 PM

I am working with WPS5.1
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 sin
ce 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 por
tlet xxx. I made public.session=true in config file but didnt resolve the is
sue.
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 ca
n reset the password? Is there any way to redirect user to main login page w
hen he comes to xxx directly?

Any help is highly appreciated







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:45 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register