Add your custom repository to the default federated repositories. You must implement a
custom registry adapter so that HCL Portal can access the repository. After you implement your
custom registry adapter, you must define several parameters for your environment and run a task
to add your repository to the federated repositories.
Before you begin
You must create a custom user registry adapter before you create your repository. To
create the user registry adapter, implement the wim.Repository
interface. Refer to the WebSphere®
Application Server documentation for information and instructions.
Procedure
-
Perform the following steps to create a federated repository:
-
Open wkplc.properties with any text editor from the following
directory:
-
Specify values for the following parameters under the VMM Federated CUR
Properties heading:
- federated.cur.id
- federated.cur.adapterClassName
- federated.cur.baseDN
- federated.cur.isExtIdUnique
- federated.cur.supportExternalName
- federated.cur.supportPaging
- federated.cur.supportSorting
- federated.cur.supportTransactions
-
Save and close wkplc.properties.
-
Run the following task from the wp_profile_root/ConfigEngine
directory:
- Windows™:
ConfigEngine.bat wp-create-cur
-DWasPassword=password
- AIX®SolarisLinux™:
./ConfigEngine.sh wp-create-cur
-DWasPassword=password
- IBM® i:
ConfigEngine.sh wp-create-cur
-DWasPassword=password
-
Restart the HCL Portal server.
-
Perform the following steps to create custom properties for your federated repository:
-
Open wkplc.properties with any text editor from the following
directory:
-
Specify values for the following parameters under the VMM Federated CUR
Properties heading in wkplc.properties:
- cur.id
- cur.name
- cur.value
-
Save and close wkplc.properties.
-
Run the following task from the wp_profile_root/ConfigEngine
directory:
- Windows™:
ConfigEngine.bat wp-create-cur-custom-property
-DWasPassword=password
- AIX®SolarisLinux™:
./ConfigEngine.sh wp-create-cur-custom-property
-DWasPassword=password
- IBM® i:
ConfigEngine.sh wp-create-cur-custom-property
-DWasPassword=password
-
Restart the HCL Portal server.