---
title: Max Entries in JWT Cache
description: The maximum number of entries in the JWT cache.
component: java-agents
version: 2025.11
page_id: java-agents:properties-reference:org.forgerock.agents.jwt.cache.size
canonical_url: https://docs.pingidentity.com/java-agents/2025.11/properties-reference/org.forgerock.agents.jwt.cache.size.html
---

# Max Entries in JWT Cache

The maximum number of entries in the JWT cache.

|                          |                                                                                                                                                                                                                               |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Property name            | `org.forgerock.agents.jwt.cache.size`                                                                                                                                                                                         |
| Aliases                  | `org.forgerock.agents.jwt.cache.size`   Introduced in Java Agent 5.6`org.forgerock.openam.agents.config.jwt.cache.size`   Introduced in Java Agent 5.0   [Recognized](preface.html#how_am_manages_multiple_aliases) from AM 7 |
| Function                 | Profile                                                                                                                                                                                                                       |
| 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 Entries in JWT Cache`Legacy title: `JWT Cache Size`                                                                                                                                    |
