Increasing the LDAP Cache Size in Nexus Professional

Nexus Professional caches valid LDAP authentication attempts for the period of time specified in the "Cache Duration" setting under the LDAP server's connection settings.  The default time for cache entries to live is 5 minutes.

In older versions of Nexus the cache size is set to 100. Starting in version 2.4 the default cache size was increased to 1000, and may be configured.

If you have  a lot of users frequently accessing the server using LDAP authentication you can increase the cache size by editing "nexus/WEB-INF/classes/ehcache.xml" and adding an entry like the following entry to it:

<cache name="enterprise-ldap"
maxElementsInMemory="10000"
eternal="false"
overflowToDisk="false"
diskPersistent="false"
diskExpiryThreadIntervalSeconds="0"
memoryStoreEvictionPolicy="LRU"
timeToLiveSeconds="1"
timeToIdleSeconds="1"
/>
Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk