1.4 Customizing the Identity Server Logout Page

You can also use the following methods to modify the Identity Server logout page:

To customize the logout page when the user logs out of an Access Gateway protected resource, see Customizing Logout Requests in the Novell Access Manager 3.1 SP1 Access Gateway Guide.

1.4.1 Rebranding the Logout Page

The branding in the header of the logout page is controlled by the branding of the nidp.jsp file. If you have modified this file for a customized login, the same branding appears in the logout page. For information on how to modify nidp.jsp for logos, titles, and colors, see Rebranding the Header.

IMPORTANT:Save a copy of your modified nipd.jsp file. Every time you upgrade your Identity Server, you’ll need to restore this file.

1.4.2 Replacing the Logout Page with a Custom Page

You can create your own logout page and configure the Identity Server to use it. To do this, you need to modify the logoutSuccess.jsp file on the Identity Server. It is located in the following directory:

Linux: /var/opt/novell/tomcat5/webapps/nidp/jsp

Windows Server 2003: \Program Files\Novell\Tomcat\webapps\nidp\jsp

Windows Server 2008: \Program Files (x86)\Novell\Tomcat\webapps\nidp\jsp

The logoutSuccess.jsp file is called in a frame from the nidp.jsp file. You can modify the file to display what you want or you can modify it to redirect the user to your custom page. One way to provide redirection is to replace the information in the <body> element of the file with something similar to the following:

<body> 
      <script language="JavaScript"> 
        top.location.href='http://<hostname/path>'; 
      </script>     
</body>

Replace the <hostname/path> string with the location of your customized logout page.

IMPORTANT:Save a copy of your modified logoutSuccess.jsp file. Every time you upgrade your Identity Server, you will need to restore this file.