Create federated repositories
Add custom repository to the default federated repositories. You must implement a custom registry adaptor so that WebSphere Portal can access the repository. After you implement custom registry adaptor, define several parameters for environment and run a task to add repository to the federated repositories.
You must create a custom user registry adaptor before you create repository. To create the user registry adaptor, implement the wim.Repository interface. Refer to the WAS Information Center for more information and instructions.
To create a federated repository, do the following:
If you created clustered environment then performed the steps in this task, now run the update-jcr-admin task on the secondary node. See Enable LDAP security after cluster creation for instructions.
- Create a federated repository:
- Open wkplc.properties with any text editor from the following directory:
Windows™: WP_PROFILE/ConfigEngine/properties
UNIX™: WP_PROFILE/ConfigEngine/properties
IBMi: WP_PROFILE/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/ConfigEngine:
Windows: ConfigEngine.bat wp-create-cur -DWASPassword=foo
UNIX: ./ConfigEngine.sh wp-create-cur -DWASPassword=foo
i: ConfigEngine.sh wp-create-cur -DWASPassword=foo
- Restart the server1 and WebSphere_Portal servers.
- Create custom properties for federated repository:
- Open wkplc.properties with any text editor from the following directory:
Windows: WP_PROFILE/ConfigEngine/properties
UNIX: WP_PROFILE/ConfigEngine/properties
IBM i: WP_PROFILE/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/ConfigEngine:
Windows: ConfigEngine.bat wp-create-cur-custom-property -DWASPassword=foo
UNIX: ./ConfigEngine.sh wp-create-cur-custom-property -DWASPassword=foo
IBM i: ConfigEngine.sh wp-create-cur-custom-property -DWASPassword=foo
- Restart the server1 and WebSphere_Portal servers.
Parent
Set federated repositories
WAS 7.0 Information Center, Sample custom adapters for federated repositories examples
WAS 7.0 Information Center, VMM API
Set up a custom user repository with Virtual Member Manager for IBM WAS and IBM WebSphere Portal