Dynamic groups and nested group support for LDAP

Dynamic and nested groups simplify WebSphere® Application Server security management and increase its effectiveness and flexibility.

Dynamic groups contain a group name and membership criteria:
  • The group membership information is as current as the information on the user object.
  • There is no need to manually maintain members on the group object.
  • Dynamic groups are designed so an application does not need a large amount of information from the directory to find out if someone is a member of a group.

Nested groups enable the creation of hierarchical relationships that are used to define inherited group membership. A nested group is defined as a child group entry whose distinguished name (DN) is referenced by a parent group entry attribute.

You only need to assign a larger parent group if all nested groups share the same privilege. Assigning a role to a single parent group simplifies the run-time authorization table.

Dynamic groups and nested group support for the IBM Tivoli Directory Server

WebSphere Application Server supports all Lightweight Directory Access Protocol (LDAP) dynamic and nested groups when using IBM® Tivoli® Directory Server. This function is enabled by default by taking advantage of a feature in IBM Tivoli Directory Server. IBM Tivoli Directory Server uses the ibm-allGroups forward-reference group attribute that automatically calculates all the group memberships including dynamic and recursive memberships for a user. Security directly locates a user group membership from a user object rather than indirectly search all the groups to match group members.

For more information, see Configuring dynamic and nested group support for the IBM Tivoli Directory Server.

[IBM i]When you create groups, ensure that nested and dynamic group memberships work correctly.

Dynamic and nested group support for the SunONE or iPlanet Directory Server

The SunONE or iPlanet Directory Server uses two grouping mechanisms:
Groups
Entries that name other entries as a list of members or as a filter for members.
Roles
Entries that name other entries as a list of members or as a filter for members. Additional functionality is provided by generating the nsrole attribute on each role member.
Three types of roles are available:
Filtered roles
Depends upon the attributes that are contained in each entry. Entries are members, if they match a specified Lightweight Directory Access Protocol (LDAP) filter. This role is equivalent to a dynamic group.
Nested roles
Creates roles that contain other roles. This role is equivalent to a nested group.
Managed roles
Explicitly assigns a role to member entries. This role is equivalent to a static group.

Refer to Configuring dynamic and nested group support for the SunONE or iPlanet Directory Server for more information.