WebSphere Portal, Express Beta Version 6.1
Operating systems: i5/OS, Linux,Windows


 

Adding realm support on Windows

A realm is a group of users from one or more user registries that form a coherent group within IBM® WebSphere® Portal Express. Realms allow flexible user management with various configuration options. A realm must be mapped to a Virtual Portal to allow the defined users to log in to the Virtual Portal.

Before creating your realm(s), add all LDAP user registries and/or database user registries, that you will use to create your realms, to the federated repository. If you are going to create multiple realms, create all required base entries within your LDAP user registries and/or database user registries. All base entry names must be unique within the federated repository. Perform the following steps to add realm support to your user registry model:

  1. Use a text editor to open the wkplc.properties file, located in the wp_profile\ConfigEngine\properties directory.
  2. Required: For realmName, type the realm name or leave blank to update the default realm.
  3. Optional: Enter only the following optional parameters in the wkplc.properties file under the realm configuration heading:

    1. For securityUse, type active to use the virtual realm in now, type inactive to use the virtual realm later, or type nonSelectable to never use the virtual realm.
    2. For delimiter, type the delimiter to use for this realm; the default value is /.
    3. For addBaseEntry, type the name of the base entry to add to this realm.
  4. Save your changes to the wkplc.properties file.
  5. Run the ConfigEngine.bat wp-create-realm task, located in the wp_profile\ConfigEngine directory to add a new realm to the Virtual Member Manager configuration. To create multiple realms, ensure that your federated repository contains the required unique base entries. Then update the wkplc.properties file with the base entry information and rerun the wp-create-realm task. Repeat these steps until all realms are created.
  6. Optional: Perform the following steps to add additional base entries to the realm configuration; for example, if you had two additional base entries (base entry 1 and base entry 2) to add to the realm you just created, you would update the wkplc.properties file with the information from base entry 1 and then run this task. Then you would update the properties file with the information for base entry 2 and then run this task:

    1. Use a text editor to open the wkplc.properties file, located in the wp_profile\ConfigEngine\properties directory.
    2. Enter the following parameters in the wkplc.properties file under the realm configuration heading:

      1. For realmName, type the name of the realm configuration where you want to add the base entry.
      2. For addBaseEntry, type the name of the base entry you want to add to the realm configuration.
    3. Save your changes to the wkplc.properties file.
    4. Run the ConfigEngine.bat wp-add-realm-baseentry task, located in the wp_profile\ConfigEngine directory to add an additional LDAP base entries to the realm configuration.
  7. Perform the following steps to stop and restart the server1 and WebSphere_Portal servers:

    1. Open a command prompt and change to the wp_profile_root\bin directory.
    2. Enter the stopServer.bat server1 -user admin_userid -password admin_password command to stop the WebSphere Application Server.
    3. Enter the stopServer.bat WebSphere_Portal -user admin_userid -password admin_password command to stop the WebSphere Portal Express server.
    4. Enter the startServer.bat server1 command.
    5. Enter the startServer.bat WebSphere_Portal command.
  8. Optional: Perform the following steps to set the realm you created as the default realm:

    1. Use a text editor to open the wkplc.properties file, located in the wp_profile\ConfigEngine\properties directory.
    2. For defaultRealmName, type the realmName property value you want to use as the default realm.
    3. Save your changes to the wkplc.properties file.
    4. Run the ConfigEngine.bat wp-default-realm task, located in the wp_profile\ConfigEngine directory to set this realm as the default realm.
  9. Optional: Perform the following steps to stop and restart the server1 and WebSphere_Portal servers:

    1. Open a command prompt and change to the wp_profile_root\bin directory.
    2. Enter the stopServer.bat server1 -user admin_userid -password admin_password command to stop the WebSphere Application Server.
    3. Enter the stopServer.bat WebSphere_Portal -user admin_userid -password admin_password command to stop the WebSphere Portal Express server.
    4. Enter the startServer.bat server1 command.
    5. Enter the startServer.bat WebSphere_Portal command.
  10. Optional: Perform the following steps to query a realm for a list of its base entries:

    1. Use a text editor to open the wkplc.properties file, located in the profiles/wp_profile/ConfigEngine/properties directory.
    2. For realmName, type the realm name or leave blank to update the default realm.
    3. Save your changes to the wkplc.properties file.
    4. Run the ConfigEngine.sh -profileName profile_root wp-query-realm-baseentry task, located in the profiles/wp_profile/ConfigEngine directory to list the base entries for a specific realm.
  11. Enter the following parameters in the wkplc.properties file under the support entity types configuration heading to configure a default parent per entity type and realm:

    1. For realmName, type the realm name or leave blank to update the default realm.
    2. For realm.personAccountParent, realm.groupParent, and realm.orgContainerParent, type the name of the base entry that will be used as the default parent for the respective entity type.
    3. Save your changes to the wkplc.properties file.
  12. Run the ConfigEngine.bat wp-modify-realm-defaultparents task, located in the wp_profile\ConfigEngine directory to update the default parents per entity type and realm.
  13. Perform the following steps to stop and restart the server1 and WebSphere_Portal servers:

    1. Open a command prompt and change to the wp_profile_root\bin directory.
    2. Enter the stopServer.bat server1 -user admin_userid -password admin_password command to stop the WebSphere Application Server.
    3. Enter the stopServer.bat WebSphere_Portal -user admin_userid -password admin_password command to stop the WebSphere Portal Express server.
    4. Enter the startServer.bat server1 command.
    5. Enter the startServer.bat WebSphere_Portal command.
Parent topic: Configuring the default federated repository on Windows
Library | Support | Terms of use |