I have a role in My webMethods portal that is defined by LDAP Query Role Provider.
I have a user of my Active Directory that need to have urgently this role.
But my problem is that LDAP sincronization that apply the role to this user takes more than 15 minutes to apply.
In ldap configuration I have:
[b]- cache capacity = 1000
cache timeout = 1 minute
search timeout = 60[/b]
I have to reconfigure this parameters to apply the query role providers more quickly?
And what “imports” I have to add?
I can’t locate the classes ICacheManager and RoleCache.
I have to copy any file to \SoftwareAG\IntegrationServer\lib\jars?
I can import this classes:
java.util.Iterator
java.util.List
java.util.Map
, but don’t locate the following namespace (the classes cannot be resolved):
com.webMethods.caf.*
com.webMethods.portal.*
com.webMethods.sc.*
I have WM 8.2.2.
I think, the code above should be executed in the context of MWS, not IS. I.e. you could create a portlet (or a web app) and create an action there which would execute the code. Then all the necessary libraries should already be in place (as they are available to all MWS components).
I can’t tell what will happen if you copy all the CAF libraries to the common dir. The code might compile, but will it work? The cache “lives” in MWS, so even if the call succeeds, I doubt it will bring the desired effect.