Access Manager Logout message included within Novell branded page

  • 7004804
  • 05-Nov-2009
  • 26-Apr-2012

Environment


Novell Access Manager 3.1 Linux Access Gateway
Novell Access Manager 3.1 Linux Novell Identity Server
Novell Access Manager 3.1 Windows Novell Identity Server

Situation

When a user logs out of Access Manager eg. hitting the /AGLogout button, a logout page is presented to that user. The default logout page may be customised by modifying the logoutSuccess.jsp page on either the Identity (IDP) servers, or the Linux Access Gateway (LAG).

However, even with the changes to this JSP page, the branding of the page still displays the Novell Access Manager logos. The customised changes actually appear within a window/frame, and not on the entire page. The logoutSuccess.jsp page is called within a frame from the nidp.jsp page. There is an option to modify the default images from this JSP page, so that it matches the overall branding, or one can modify the logoutSuccess.jsp page too so that we jump out of the nidp.jsp frame and display our customised page over the entire page rendered.

Resolution

The logoutSuccess.jsp is called in a frame from nidp.jsp. The following example shows how to modify the logoutSUccess.jsp page so that the info rendered is displayed in the entire page, and not within a frame. Note that it must be done within the <body> tag.


      <body>

        <script language="JavaScript">

    top.location.href='http://<hostname / path>?stat=<%=uh.getResource(JSPResDesc.LOGOUT)%>&desc=<%=uh.getResource(JSPResDesc.LOGOUT_SUCCESS_MSG)%>';

       </script>    

     </body>


This ensures that you jump out of the frame set by nidp.jsp.