Synchronizing WebSphere Portal access control with WebSphere Commerce roles
It is covered how WebSphere Portal restricts user access by using Realm with Virtual Portal, and as well on how WebSphere Portal maintains resource level access control using role type assignment. This access right control now relates to the WebSphere Commerce roles and organization hierarchy.
- One WebSphere Commerce store per virtual portal – one and only one WebSphere Commerce extended site can be associated with one virtual portal; this means that only one store Id can be used within a given virtual portal site.
- No implicit inherited WebSphere Commerce roles – all WebSphere Commerce roles that are eligible at any given WebSphere Commerce organization hierarchy level can only be calculated and applied at that same WebSphere Commerce organization level; this means that inherited WebSphere Commerce roles from higher organization levels cannot be mapped implicitly to one WebSphere Portal access right, unless all inherited WebSphere Commerce roles are being mapped out explicitly.
- One WebSphere Portal member group per WebSphere Commerce role of an organization – for each WebSphere Commerce role assigned at any given WebSphere Commerce organization hierarchy, only one WebSphere Portal member group can be used to uniquely represent this relationship; this means there is only a bidirectional one-to-one mapping between a WebSphere Commerce role for an organization and a WebSphere Portal member group.
- WebSphere Portal role types are for WebSphere Portal only – a WebSphere Portal role type can then be used to assign access right to these member groups. The WebSphere Portal roles used do not reflect any WebSphere Commerce role characteristics – these WebSphere Portal roles are more designed for WebSphere Portal administrative purposes.
By considering the preceding example:
- In WebSphere Commerce, a user has been granted with a Registered Customer role against the Seller A-1 organization.
- Because Seller A-1 owns Store A-1, the user can access Store A-1.
- In WebSphere Portal, Store A-1 is mapped to Virtual Portal A, whereas the Registered Customer role of Seller A-1 can be mapped to WebSphere Portal member group SellerA1-RC.
- From a top level page Home of Virtual Portal A, a WebSphere Portal role type of User@Home is created and granted to WebSphere Portal member group SellerA1-RC.
- When this user logs on to Virtual Portal A, the user should be able to access the Home page, as well as all of its sub-pages due to the default inherited behavior of WebSphere Portal role types.