WAS v8.5 > Secure applications > Authenticate users > Select a registry or repository > Standalone LDAP registriesDynamic 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 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
WAS supports all LDAP dynamic and nested groups when using IBM Tivoli Directory Server. This function is enabled by default by taking advantage of a new 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 groups to match group members.
For more information, see Configure dynamic and nested group support for the IBM Tivoli Directory Server.
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 LDAP filter. This role is equivalent to a dynamic group.
- Nested roles
- Creates roles containing 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 Configure dynamic and nested group support for the SunONE or iPlanet Directory Server for more information.
Related
Configure dynamic and nested group support for the IBM Tivoli Directory Server
Configure dynamic and nested group support for the SunONE or iPlanet Directory Server
Locating user group memberships in a LDAP registry
Use specific directory servers as the LDAP server