Java Agents 2024.9

Max Sessions in Policy Cache

The maximum number of sessions (distinct users) that can be stored in the policy evaluation cache at any time.

Property name

org.forgerock.agents.policy.cache.session.size

Aliases

org.forgerock.agents.policy.cache.session.size
  Introduced in Java Agent 5.6
  Recognized from AM 7

com.sun.identity.policy.client.cachedSessionCap
  Introduced in Java Agent 5.0

Function

Policy enforcement

Type

Integer

Default

5000

Bootstrap property

Yes

Required property

No

Restart required

Yes - Restart the container after changing the property

Local configuration file

AgentBootstrap.properties

AM console

Tab: Advanced (from AM 7)

Title: Max Sessions in Policy Cache

Legacy title: Policy Cache Size