Set group attribute definition settings in a federated repository configuration
Follow this task to configure group definition settings in a federated repository configuration.
Because group attribute definition settings apply only to a LDAP repository, first configure an LDAP repository.
See Manage repositories in a federated repository configuration.
- In the admin console, click...
Security | Global security
- Under User account repository, select Federated repositories from the Available realm definitions field and click Configure.
- Under Related items, click Manage repositories.
- Click Add to specify a new external repository or select an external repository that is preconfigured.
If we click Add to specify a new external repository, first complete the required fields and click Apply before we can proceed to the next step.
- Under Additional properties, click Group attribute definition.
- Supply the name of the group membership attribute in the Name of group membership attribute field. Only one membership attribute can be defined for each LDAP repository.
Every LDAP entry should have this attribute to indicate the groups to which this entry belongs. For example, memberOf is the name of the membership attribute used in Active Directory. The group membership attribute contains values that reference groups to which this entry belongs. If UserA belongs to GroupA, then the value of the memberOf attribute of UserA should contain the distinguished name of GroupA.
If wer LDAP server does not support the group membership attribute, then do not specify this attribute. The LDAP repository can look up groups by searching the group member attributes, though the performance might be slower.
- Select the scope of the group membership attribute. The default value is Direct.
- The membership attribute contains direct groups only. Direct groups are the groups that contain the member. For example, if Group1 contains Group2 and Group2 contains User1, then Group2 is a direct group of User1, but Group1 is not a direct group of User1.
- The membership attribute contains both direct groups and nested groups.
- The membership attribute contains direct groups, nested groups, and dynamic members.
ResultsAfter completing these steps, group attribute definition settings are configured for the LDAP repository.
- After configuring the federated repositories, click Security > Global security to return to the Global security panel. Verify that Federated repositories is identified in the Current realm definition field. If Federated repositories is not identified, select Federated repositories from the Available realm definitions field and click Set as current. To verify the federated repositories configuration, click Apply on the Global security panel. If Federated repositories is not identified in the Current realm definition field, the federated repositories configuration is not used by WAS.
- If enabling security, complete the remaining steps as specified in Enable security for the realm. As the final step, validate this setup by clicking Apply in the Global security panel.
- Save, stop, and restart all WAS servers (dmgrs, nodes, and Application Servers) for changes in this panel to take effect. If the server comes up without any problems, the setup is correct.
Group attribute definition settings