Creating and configuring federated repositories
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.
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.
-
Perform the following steps to create a federated repository:
-
Open wkplc.properties with any text editor from the following directory:
- Windows™: wp_profile_root\ConfigEngine\properties
- AIX®SolarisLinux™: wp_profile_root/ConfigEngine/properties
- IBM® i: wp_profile_root/ConfigEngine/properties
-
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
- AIXSolarisLinux: ./ConfigEngine.sh wp-create-cur -DWasPassword=password
- IBM i: ConfigEngine.sh wp-create-cur -DWasPassword=password
-
Restart the WebSphere_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:
- Windows: wp_profile_root\ConfigEngine\properties
- AIXSolarisLinux: wp_profile_root/ConfigEngine/properties
- IBM i: wp_profile_root/ConfigEngine/properties
-
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
- AIXSolarisLinux: ./ConfigEngine.sh wp-create-cur-custom-property -DWasPassword=password
- IBM i: ConfigEngine.sh wp-create-cur-custom-property -DWasPassword=password
-
Restart the WebSphere_Portal server.
-