Dynamic role caching properties

 

Dynamic role caching properties

They dymanic role cache holds role memberships that expire. These properties are in the profile_root/etc/tam/amwas.node_server_name.amjacc.properties file.

The profile_root directory is the value of the profilePath parameter at profile creation time.

Enabling dynamic role caching

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

Setting 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 do not need to change this property, although the opportunity exists to implement your own cache if 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 that is 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 Lightweight Directory Access Protocol (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.



Related information

JACC provider configuration properties for Tivoli Access Manager


Searchable topic ID: rsec_config_dyna_cache