-
1. Re: How do I forward to another web-app affter loged portal?
soshah Aug 24, 2006 8:46 AM (in response to khangfpt)khangft-
One approach can be to use a ServletFilter in front of your portal app that intercepts the request after successful login and re-directs to the index page of your web-app
You can also try using a custom Authenticator instead of the built-in tomcat Authenticator to accomplish this more cleanly, but it might be over kill for the problem you are trying to solve
Thanks
Sohil -
2. Re: How do I forward to another web-app affter loged portal?
khangfpt Aug 30, 2006 5:02 AM (in response to khangfpt)Thanks, I got it.
-
3. Re: How do I forward to another web-app affter loged portal?
andrewboyd Sep 5, 2006 6:01 AM (in response to khangfpt)khangfpt,
Could you please share with the rest of us how you did this?
Thanks,
Andrew -
4. Re: How do I forward to another web-app affter loged portal?
antoine_h Sep 6, 2006 12:23 PM (in response to khangfpt)I am interested too...
-
5. Re: How do I forward to another web-app affter loged portal?
khangfpt Sep 11, 2006 11:07 PM (in response to khangfpt)Hi,
First I created a portlet that show a button or link when click will call processAction (in doView mode) and sendRedirect to myWebapp in processAction method of this portlet.
Then, I created a module to check user information in my webapp (use getRemoteUser). In case the return value is null, I make a forward to login page of portal.