The following information pertains to the example procedures in this section:
A default top-level organization called example exists.
The default top-level organization example has a sub-realm called bookshop. The sub-realm bookshop has been created through the Access Manager Administration Console.
The L10n resources for the Dutch (nl) language are added to sub-realm bookshop by doing the following:
Localizing the Login.jsp file
Localizing the Logout.jsp file
Localizing the LDAP.xml file
The changes are applied by doing the following:
Redeploying the customized Access Manager instance
Restarting the web container where Access Manager is deployed
Open a terminal window on the server where an instance of Access Manager is installed (if necessary).
As superuser change to the authentication interface templates base directory.
# cd AM_INS/web-src/services/config/auth
Create a directory for the top-level organization.
# mkdir -p example
Copy the contents of the default directory to a new directory for the bookshop sub-realm.
# cp -rp default example/bookshop
Create a directory to contain the Dutch localization of the bookshop sub-realm.
# mkdir -p example_nl/bookshop
Copy the default authentication interface templates for the bookshop sub-realm to this new directory.
# cp -rp example/bookshop/* example_nl/bookshop
Change to the created localization directory.
# cd example_nl/bookshop
Open the Login.jsp file in a text editor.
Navigate to the line that contains this string:
<body class="LogBdy" onload="placeCursor...>
Below this line, insert the following single line:
<h5><span style="color: rgb(255,255,255);">Welcome to a Dutch Bookshop organization.</span><br></h5>
Save the changes.
Open the Logout.jsp file in a text editor.
Navigate to the line that contains this string:
<body class="LogBdy">
Below this line, insert the following single line:
<h5><span style="color: rgb(255,255,255);">Thank you for visiting our Dutch Bookshop organization.</span><br></h5>
Saves the changes.
Open the LDAP.xml file in a text editor.
Navigate to the line that contains this string:
<Callbacks length="2" order="1" timeout="120" header="This server uses LDAP Authentication" >
Replace this line with the following single line:
<Callbacks length="2" order="1" timeout="120" header="This Dutch server uses LDAP Authentication" >
Save the changes.