Network Deployment (Distributed operating systems), v8.0 > Secure applications and their environment > Authenticate users > Select a registry or repository > Manage realms in a federated repository


Increase the performance of an LDAP repository in a federated repository

Follow the steps given here to increase the performance of an LDAP repository in a federated repository.

The settings that are available on the Performance panel are independent options that pertain specifically to an LDAP repository configured using the federated repositories functionality. These options do not affect your entire WAS configuration.


Procedure

  1. In the console, click...

      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 | Federated repositories | Configure

  2. Click...

      Related items Manage repositories | repository_name | Additional properties Performance

  3. Select Limit search time option and enter the maximum number of milliseconds that the Application Server can use to search through the LDAP entries.

  4. Select the Limit search returns option and enter the maximum number of entries to return that match the search criteria.

  5. Select the Use connection pooling option to specify whether the Application Server can store separate connections to the LDAP server for reuse.

  6. Select the Enable context pool option to specify whether multiple applications can use the same connection to the LDAP server. If you select the option, specify the initial, preferred, and maximum number of entries that can use the same connection.

    The Enable context pool option can be enabled either in conjunction with the Use connection pool option or separately. If this option is disabled, a new connection is created for each context.

    We can also select the Context pool times out option and specify the number of seconds after which the entries in the context pool expire.

  7. Set the Maximum size value of the context pool to zero (0).

  8. Select the Cache the attributes option and specify the maximum number of search attribute entries. This option enables WAS to save the LDAP entries so that it can search the entries locally rather than making multiple calls to the LDAP server. Click the Cache times out option that is associated with the Cache the attributes option to specify the maximum number of seconds that the Application Server can save these entries. Specify the Distribution policy for the dynamic attribute cache in a clustered environment as Not shared, shared Push, or shared Push and pull.

    This setting is read during the adapter startup process and the cache policy is set accordingly.

  9. Select the Cache the search results option and specify the maximum number of search result entries. This option enables WAS to save the results of a search inquiry instead of making multiple calls to the LDAP server to search and retrieve the results of that search. Click the Cache times out option that is associated with the Cache the search results option to specify the maximum number of seconds that the Application Server can save the results.

    Specify the Distribution policy for the dynamic attribute cache in a clustered environment as Not shared, shared Push, or shared Push and pull. This setting is read during the adapter startup process and the cache policy is set accordingly.

  10. Create the root DataObject object locally using the com.ibm.websphere.wim.util.SDOHelper.createRootDataObject method instead of the com.ibm.websphere.wim.ServiceProvider.createRootDataObject method.


Results

These options are available to potentially increase the performance of your federated repositories configuration. However, the any increase in performance is dependant upon your specific configuration.


Related

LDAP performance settings Connection pooling Manage repositories in a federated repository

+

Search Tips   |   Advanced Search