Technical Note: Sun Java System Access Manager Localization Guide

Adding Localization Resources for a Newly Supported Language

The following information pertains to the example procedures in this section:

ProcedureTo Prepare the Directory Structure

  1. Open a terminal window on the server where an instance of Access Manager is installed (if necessary).

  2. As superuser change to the authentication interface templates base directory.

    # cd AM_INS/web-src/services/config/auth

  3. Create a directory for the top-level organization.

    # mkdir -p example

  4. Copy the contents of the default directory to a new directory for the bookshop sub-realm.

    # cp -rp default example/bookshop

  5. Create a directory to contain the Dutch localization of the bookshop sub-realm.

    # mkdir -p example_nl/bookshop

  6. Copy the default authentication interface templates for the bookshop sub-realm to this new directory.

    # cp -rp example/bookshop/* example_nl/bookshop

ProcedureTo Add Localizing Authentication Interface Files

  1. Change to the created localization directory.

    # cd example_nl/bookshop

  2. Open the Login.jsp file in a text editor.

  3. Navigate to the line that contains this string:

    <body class="LogBdy" onload="placeCursor...>

  4. 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>

  5. Save the changes.

  6. Open the Logout.jsp file in a text editor.

  7. Navigate to the line that contains this string:

    <body class="LogBdy">

  8. 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>

  9. Saves the changes.

  10. Open the LDAP.xml file in a text editor.

  11. Navigate to the line that contains this string:

    <Callbacks length="2" order="1" timeout="120" header="This server uses LDAP Authentication" >

  12. Replace this line with the following single line:

    <Callbacks length="2" order="1" timeout="120" header="This Dutch server uses LDAP Authentication" >

  13. Save the changes.