WAS v8.5 > Secure applications > Authenticate users > Select a registry or repository > Manage the realm in a federated repository configurationConfigure multiple LDAP repositories in a federated repository configuration
Follow this task to configure multiple LDAP repositories in a federated repository configuration.
To configure an LDAP repository in a federated repository configuration, you must know a valid user name (ID), the user password, the server host and port and, if necessary, the bind distinguished name (DN) and the bind password. Choose any valid user in the repository that is searchable. In some LDAP servers, administrative users are not searchable and cannot be used (for example, cn=root in SecureWay). This user is referred to as a WebSphere Application Server administrative user name or administrative ID in the documentation. Being an administrative ID means a user has special privileges when calling some protected internal methods. Normally, this ID and password are used to log into the dmgr console after you turn on security. We can use other users to log in if those users are part of the administrative roles.
- In the dmgr console...
Security | Global security | User account repository | Available realm definitions | Federated repositories | Configure
To configure for a specific domain in a multiple security domain environment, click...
Security domains | domain_name | Security Attributes | User Realm | Customize for this domain | Realm type | Federated repositories | Configure
- Enter the name of the realm in the Realm name field. We can change the existing realm name.
- Enter the name of the primary administrative user in the Primary administrative user name field, for example, adminUser.
- Optional: Select the Ignore case for authorization option.
When enabled, the authorization check is case-insensitive. Normally, an authorization check involves checking the complete DN of a user, which is unique in the realm and is case-insensitive. Clear this option when all of the member repositories in the realm are case-sensitive.
Some repositories contain data that is case-sensitive only, and some repositories contain data that is case-insensitive only. Do not include both case-sensitive and case-insensitive repositories in the realm. For example, do not include case-sensitive repositories in the realm with a built-in, file-based repository.
- To allow operations such get or search even if the repositories in the realm are down, select the...
Allow operations if some of the repositories are down
- Optional: In a multiple security domain environment, to indicate the global schema option is enabled for the data model, select...
Use global schema for model
Global schema refers to the schema of the admin domain.
- Optional: Click...
Add base entry to realm
If the LDAP repository that you need is not listed in the collection. Then complete the steps in Add an external repository in a federated repository configuration.
- On the Federated repositories panel...
- Optional: Repeat step 6 if the LDAP repository that you need is not listed in the collection.
- Optional: Select the repositories in the collection that we do not need in the realm and click Remove. The following restrictions apply:
- The realm must always contain at least one base entry; therefore, we cannot remove every entry.
- If you plan to remove the built-in, file-based repository from the administrative realm, verify that at least one user in another member repository is a console user with administrative rights. Otherwise, you must disable security to regain access to the dmgr console.
- Click OK.
Results
After completing these steps, your federated repository configuration, which includes multiple LDAP repositories, is configured.
- Before we can manage this account with Users and Groups, configure supported entity types as described in Configure supported entity types in a federated repository configuration.
- 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, your federated repositories configuration is not used by WAS.
- If you are 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 the product servers (deployment managers, nodes, and appservers) for changes in this panel to take effect. If the server comes up without any problems, the setup is correct.