Webspace Server - Customizing the Default Landing Page
By Srikanth Konjarla on Apr 12, 2009
When a user is successfully authenticated against the Webspace server, user will be presented with a page which is known as "Default Landing Page". Which defaults to user's private page (can be configured to a default page for all users with default.landing.page.path). If user is redirected to login page while attempting to access a page (webspace URL to be more specific) then user will be redirected to the original URL upon successful authentication.
In some cases, it is desirable to have a different "landing page" for different users. For example, a company would like to land all the customers to a page other than the employees. This requires more granular configuration for landing page. Though the configuration is not available out of the box, the webspace server provides with option to customize and configure the landing page of a user or can be determined dynamically.
This is possible by writing a custom java class for Post Login hook. I have put together a Wiki with sample code.