---
title: Exchanged SSO Token Cache TTL
description: The interval in minutes at which entries in the SSO token exchange cache timeout and are purged.
component: java-agents
version: 2025.11
page_id: java-agents:properties-reference:org.forgerock.agents.sso.exchange.cache.ttl.minutes
canonical_url: https://docs.pingidentity.com/java-agents/2025.11/properties-reference/org.forgerock.agents.sso.exchange.cache.ttl.minutes.html
---

# Exchanged SSO Token Cache TTL

The interval in minutes at which entries in the SSO token exchange cache timeout and are purged.

The exchanged JWT is cached against the relevant SSO token. If the same SSO token is presented again, before the cache entry expires, the agent does not need to exchange the token again, but retrieves the one stored in its cache.

Because exchanging SSO tokens for JWTs is an expensive process, previously exchanged SSO tokens are cached. When an entity is unable to permanently store its JWT in a cookie, calls to AM can be avoided.

|                          |                                                                                                                                                                 |
| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Property name            | `org.forgerock.agents.sso.exchange.cache.ttl.minutes`                                                                                                           |
| Aliases                  | `org.forgerock.agents.sso.exchange.cache.ttl.minutes`   Introduced in Java Agent 5.6.2.1   [Recognized](preface.html#how_am_manages_multiple_aliases) from AM 7 |
| Function                 | Profile                                                                                                                                                         |
| Type                     | Integer                                                                                                                                                         |
| Default                  | `5`                                                                                                                                                             |
| 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: `Exchanged SSO Token Cache TTL`Legacy title: `Exchanged SSO Token Cache Time to Live`                                         |
