Previous Topic: How Containers are Specified for Users

Next Topic: JavaServer Pages (JSPs)

Map Properties Files

Mapping properties files allow you to customize the default locale, presentation, and object properties files, and map them to specific Registration Spaces. Customizing properties files enables you to do the following, without changing the JSPs:

You can have multiple sets of properties files, each linked to a different Registration Space. The registration space properties files map a Registration Space identifier (SPID) to a sub-directory where properties files for the specified environment are located.

For example, if a user accesses the following URL:

http://myserver.myorg.org/servlet/DMS/Admin/sales/user_data_collector.jsp

the Registration Space properties files map sales in the URL to a subdirectory in the Properties directory where Registration Services is installed.

If no mapping is specified, Registration Services uses the properties files under the default folder where the properties files are installed—for example:

For Windows

C:\Program Files\Netegrity\<Web Agent Installation>\Samples\Properties\default

For UNIX

export/smuser/netegrity/<webagent_installation>/samples/properties/default

Registration Services includes the following mapping properties files in the properties directory:

reg space_tables.properties

Maps Registration Space identifiers to object properties files, which are contained in a tables directory.

regs pace_presentation.properties

Maps Registration Space identifiers to presentation properties files, which are contained in a presentation directory.

reg space_locale.properties

Maps Registration Space identifiers to locale properties files, which are contained in a locale directory.

To map properties files to a Registration Space

  1. Create a new directory under the properties directory where Registration Services is installed—for example:

    C:\Program Files\Netegrity\<Web Agent installation>\Samples\your-directory

    export/smuser/netegrity/<web agent installation>/samples/properties/your-directory

    Note: To easily identify the directory, give it the same name as the Registration Space to which it will apply.

  2. From the properties directory, copy the directory (or directories), which contains the properties files that you want to modify, into the directory that you created. For example, if you want to modify presentation and object properties files, copy the presentation and tables directories into the new directory.
  3. In the mapping properties file for the properties file type(s) that you copied in step 2, add the following:

    spid=directory name

    where spid is the Registration Space identifier that you specified when creating the environment, and directory name is the name of the properties directory that you created.