Set up custom user repositories
A custom user repository is any repository that WebSphere Portal does not support out-of-box. However, we can configure WebSphere Portal to support any type of repository in a federated or stand-alone user registry, whether an LDAP directory, database, file system, and so on. Setting up custom user repositories involves tasks such as defining additional repositories to the default federated user registry, creating a custom stand-alone user repository, and updating the user repository to reflect changes in the environment. Learn what steps are required to create and update custom user repositories and what specific interfaces we implement to enable communication between WebSphere Portal and a repository.
A user registry is an implementation of the UserRegistry interface in WebSphere Application Server. The following user registries are available out-of-box:
- Federated Repositories
An implementation of the UserRegistry interface that supports multiple repositories. To communicate with the federated repositories, both WebSphere Application Server and WebSphere Portal dispatch all operations to VMM.
WebSphere Portal accesses all user repositories through VMM. WebSphere Portal uses the Portal User Management Architecture (PUMA) System Programming Interface (SPI) to retrieve and set attributes on user objects. PUMA passes these requests to VMM, which then passes the requests on to a corresponding registry adapter that connects VMM to the repository. For this reason, registry adapters are required to enable communication between WebSphere Portal and any repository.
If we can to use a custom user repository, create a user registry adapter. by implementing com.ibm.wsspi.wim.Repository.
See...
- Repository SPI (Interfaces for VMM adapters)
- Sample custom adapters for federated repositories examples
Parent SecuringRelated concepts:
Set federated repositories
Virtual Member Manager integration
Related information
Virtual member manager API
Set up a custom user repository with Virtual Member Manager for IBM WebSphere Application Server and IBM WebSphere Portal
IBM WebSphere Developer Technical Journal: Expand the user registry options with a federated repository in WebSphere Application Server, Using the VMM