Dynamic role caching properties

The dynamic role cache holds role memberships that expire. These properties are in the file, amwas.node_server.amjacc.properties, located in the WAS install_dir/profiles/profile/etc/tam directory.

 

Enable dynamic role caching

com.tivoli.pd.as.cache.EnableDynamicRoleCaching=true Enables or disables dynamic role caching. Dynamic role caching is enabled by default.

 

Set the dynamic role cache

com.tivoli.pd.as.cache.DynamicRoleCache=com.tivoli.pd.as.cache.DynamicRoleCacheImpl This property holds the implementation class of the dynamic role cache. You should not need to change this though the opportunity exists to implement your own cache if considered necessary.

 

Specifying the maximum number of users

com.tivoli.pd.as.cache.DynamicRoleCache.MaxUsers=100000 The maximum number of users that the cache supports before a cache cleanup is performed. The default number of users is 100000.

 

Specifying the number of cache tables

com.tivoli.pd.as.cache.DynamicRoleCache.NumBuckets=20 The number of tables used internally by the dynamic role cache. The default is 20. When a large number of threads use the cache, increase the value to tune and optimize cache performance.

 

Specifying the principal lifetime

com.tivoli.pd.as.cache.DynamicRoleCache.PrincipalLifeTime=10 The period of time in minutes that a principal entry is stored in the cache. The default time is 10 minutes. The term principal here refers to the Tivoli Access Manager credential returned from a unique LDAP user.

 

Specifying the role lifetime

com.tivoli.pd.as.cache.DynamicRoleCache.RoleLifetime=20 The period of time in seconds that a role is stored in the role list for a user before it is discarded. The default is 20 seconds.


 

See Also


Tivoli Access Manager JACC provider configuration properties