No caching of principals with groups enabled

Hi all,

I enabled LDAP groups for TWS 4.1.5.1 on Linux which works nice.
However performance degraded significantly. After enabling the trace of SSXUserDBRealm4 I discovered that TWS contacts the LDAP server for every single resource (at least), which was not the case before enabling the groups.

Is the principal caching not working here? The realm configuration is exactly the same as before enabling groups:

<Realm className=“com.softwareag.ssx.userdb.authmod.realms.tomcat4.SSXUserDBRealm4”
authType=“ldap”
serverHost=“10.10.2.122”
personBindDn=“dc=s-und-n,dc=de”
groupBindDn=“dc=s-und-n,dc=de”
personObjClass=“top,person”
groupObjClass=“top,groupOfUniqueNames”
groupPrsAttr=“uniqueMember”
authCacheSize=“0”
authValidTime=“0”
allCacheSize=“100”
allValidTime=“3600”
allUsersValidTime=“60”
principalCacheSize=“100”
principalValidTime=“60”
authDenyTime=“120”
authDenyCount=“3”
storePassword=“true”
nativeLogLevel=“6”
nativeLogFile=“/opt/sag4/webdav.log”/>

Should I open a support call?

Thanks
Guido

Hi Guido,

yes, it sounds like the caching does not work right when trace is enabled. We will have a look for it.

regards Eckehard