Access Manager contains a default user portal and a set of default login pages from Access Manager 4.2 onwards. The new login pages have a different look and feel compared to the default login pages of Access Manager 4.1 or prior. If you have customized the legacy user portal, you can maintain the customized JSP pages in the following two ways:
Before upgrade, create a copy of all JSP files inside the /opt/novell/nids/lib/webapp/jsp directory and place the copy somewhere else.
WARNING:The upgrade overwrites all existing JSP files.
Upgrade Identity Server.
Create an empty folder legacy.
Add the legacy folder to Identity Server in the/opt/novell/nids/lib/webapp/WEB-INF/ directory using Advanced File Configurator.
For information about how to add a folder, see Adding Configurations to a Cluster
in the NetIQ Access Manager 5.0 Administration Guide.
NOTE:If you do not create the legacy folder, Access Manager uses the logic of the default new login pages.
Add all backed up JSP files into the /opt/novell/nids/lib/webapp/jsp directory using Advanced File Configurator. For information about how to add files, see Adding Configurations to a Cluster
in the NetIQ Access Manager 5.0 Administration Guide.
Refresh the browser to see the changes.
Before upgrade, create a copy of all JSP files inside the /opt/novell/nids/lib/webapp/jsp directory and place the copy somewhere else.
WARNING:The upgrade overwrites all existing JSP files.
Upgrade Identity Server.
Create an empty folder legacy.
Add the legacy folder to Identity Server in the/opt/novell/nids/lib/webapp/WEB-INF/ directory using Advanced File Configurator.
For information about how to add a folder, see Adding Configurations to a Cluster
in the NetIQ Access Manager 5.0 Administration Guide.
NOTE:If you do not create the legacy folder, Access Manager uses the logic of the default new login pages.
Open customized nidp.jsp and content.jsp files and make the following changes in both files:
For information about how to modify a file, see Adding Configurations to a Cluster
in the NetIQ Access Manager 5.0 Administration Guide.
In the top Java section of the JSP file, find the ContentHandler object that looks similar to the following:
ContentHandler handler = new ContentHandler(request,response);
In the code, add the following Java line under ContentHandler:
boolean bGotoAlternateLandingPageUrl = handler.gotoAlternateLandingPageUrl();
Find the first instance of <script></script> in the JSP file that is not <script src></script>, then insert the following line in to the JavaScript section between the <script></script> tags:
<% if (bGotoAlternateLandingPageUrl) { %> document.location = "<%=handler.getAlternateLandingPageUrl()%>"; <% } %>
This redirects control to the default portal page that contains appmarks.
Refresh the browser to see the changes.