By default, WebSphere® Portal is enabled for
static groups. However, the Virtual Member Manager (VMM) allows users
to be members of either static or dynamic groups. Static groups are
those where a persistent binding exists between a group and its members.
Dynamic groups are those where a search query is defined to retrieve
the members of a group. If you have your LDAP server configured to
use dynamic groups, complete the steps in this task for WebSphere Portal to use dynamic
group queries when you setup your LDAP server.
Before you begin
Perform the required tasks to configure
either a stand-alone or federated LDAP server security.
About this task
The steps in this task use groupOfURLs as
the object class for dynamic groups and memberURL as
the dynamic membership attribute. The actual values for object classes
and dynamic membership attributes can vary depending on your LDAP
server. For this reason, you should export an LDIF file to verify
the object classes and dynamic membership attributes. Either refer
to your LDAP documentation or ask your LDAP administrator for instructions
on exporting an LDIF file.
Clustered environments: Perform the following steps on the Deployment Manager
then synchronize the nodes.
To configure WebSphere Portal to use dynamic
groups, do the following:
Procedure
- If you are using a Stand-alone LDAP
server, follow these steps.
- Navigate to the following directory: wp_profile_root/cells/cell_name/wim/config.
- Locate and open wimconfig.xml with
any text editor.
- Add the following line to the <config:groupConfiguration> tag:
<config:dynamicMemberAttributes name="memberurl" objectClass="groupofurls"/>
- Save and close wimconfig.xml.
- If you are using a Federated LDAP server, follow these
steps.
- Log in to the WebSphere Integrated Solutions Console.
- Select .
- In Available realm definitions,
select Federated repositories and click Configure.
- In Related Items, click Manage
repositories.
- Select the appropriate repository from the list.
- In Additional Properties, click Group
attribute definition then click Dynamic member
attributes.
- Click New and specify values
for the Name and Object class fields
as appropriate. For example,
- Name: memberurl
- Object class: groupofurls
- Click OK and save the changes
to the master configuration.
- Stop and restart the appropriate servers
to propagate the changes. For specific instructions, see Starting and stopping servers, deployment managers, and node agents.