Develop > Presentation layer > WebSphere Commerce integration with WebSphere Portal > Integrate WebSphere Commerce Extended Sites with WebSphere Portal > Synchronize WebSphere Portal access control with WebSphere Commerce roles
Realm
A realm is a collection of users from one or more LDAP trees from one or more user registry that form a coherent user population within WebSphere Portal. A realm is then mapped to a Virtual Portal to allow the realm's user population to log in to the Virtual Portal. This functionality allows the portal administrator to define areas within WebSphere Portal that only a limited set of users can access.
Considering the following example:
- A portal user, named orange, participates in Seller Organization A-1.
- Seller Organization A-1 is part of Realm A.
- Virtual Portal A is mapped to Realm A.
- A unique portal URL A is configured to access Virtual Portal A.
- Another portal user, named blue, is a member of the Default Organization.
- Default Organization is mapped to the Default Portal.
- The main URL is used for accessing the Default Portal.
- A business user, named brown, is a member of Seller Organization B-1.
- Seller Organization B-1 is part of Realm B.
- Virtual Portal B is mapped to Realm B.
- A unique portal URL B is configured to access Virtual Portal B.
Now consider the following:
- User orange is only permitted to access Virtual Portal A using URL A, but not to Virtual Portal B.
- User brown is only permitted to access Virtual Portal B using URL B, but not to Virtual Portal A.
- User blue is only permitted to access the Default Portal, but not to Virtual Portal A nor Virtual Portal B.