Object caching properties

The object cache is used to cache all Tivoli Access Manager objects, including their extended attributes. This bypasses the need to query the Tivoli Access Manager authorization server for each resource request.

These properties are in the file, amwas.node_server.amjacc.properties, located in the WAS install_dir/profiles/profile/etc/tam directory.

 

Enable object caching

com.tivoli.pd.as.cache.EnableObjectCaching=true This property enables or disables object caching. The default value is true.

 

Set the object cache

com.tivoli.pd.as.cache.ObjectCache=com.tivoli.pd.as.cache.ObjectCacheImpl This property is the class used to perform object caching. You can implement your own object cache if required. This can be done by implementing the com.tivoli.pd.as.cache.IObjectCache interface. The default is com.tivoli.pd.as.cache.ObjectCacheImpl.

 

Set the number of cache buckets

com.tivoli.pd.as.cache.ObjectCache.NumBuckets=20 This property specifies the number of buckets used to store object cache entries in the underlying hash table. The default is 20.

 

Set the number of cache bucket entries

com.tivoli.pd.as.cache.ObjectCache.MaxResources=10000 This property specifies the total number of entries for all buckets in the cache. This figure, divided by NumBuckets determines the maximum size of each bucket. The default is 10000.

 

Set the resource lifetime

com.tivoli.pd.as.cache.ObjectCache.ResourceLifeTime=20 This property specifies the length of time in minutes that objects are kept in the object cache. The default is 20.

These object cache properties cannot be changed after configuration. If any require changing, it should be done before configuration of the nodes in the cell. Changes need to be made in the template properties file before any configuration actions are performed. Properties changed after configuration might cause access decisions to fail.


 

See Also


Tivoli Access Manager JACC provider configuration properties

 



 

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.
Tivoli is a trademark of the IBM Corporation in the United States, other countries, or both.