Version 11

    How to configure a specific page for display after logout

    • JBoss Portal versions 2.4 and higher

    • This feature can be used to send the user to a specified page after logging out, for example, back to the default page.

     

    Configuration:

    1. Open jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/menu.jsp.

    2. At the bottom of menu.jsp there is a commented-out table row (tr) element that contains a link with text "Logout and return to default page". The target for this link is configurable by setting the locationURL parameter for the actionURL.

    3. There are 2 locationURL parameters within the tr element. Set the value of the first locationURL parameter to be the same as the value of the second locationURL parameter. This sets the link for the lock icon to be the same as the text link. By default, the lock icon link is set to an empty string which causes an exception when you click the lock icon.

    4. Uncomment the entire tr element and you will see the "Logout and return to default page" link in the User portlet.