I'm using GateIn tomcat version.
My requirement is
1) I want my portal should be private, that is, whenever a user types www.myportal.com/portal, it should take him to login page.
2) Once the succesfull login, it should take to www.myportal.com/portal/private.
3) When the user logs out it should show the login page but nothing else.
I searched the forum but unfortunately unable to find the solution.
Thanks in advance.
I think you should create your own extension and specific index.jsp file, and you can redirect to any servlet that you want.
BTW, if you want the portal always redirect to private mode, you can make a filter as reference guide http://platform.demo.exoplatform.org/docs/refguide/html/ch-how-to-extend-my-gatein-instance.html#d0e18034 with /public pattern