---
title: Restrict to Realm Map
description: A map to restrict access to the specified web application to users authenticated in the specified realm.
component: java-agents
version: 2025.11
page_id: java-agents:properties-reference:org.forgerock.agents.restrict.to.realm.map
canonical_url: https://docs.pingidentity.com/java-agents/2025.11/properties-reference/org.forgerock.agents.restrict.to.realm.map.html
---

# Restrict to Realm Map

A map to restrict access to the specified web application to users authenticated in the specified realm.

|                          |                                                                                                                                                        |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Property name            | `org.forgerock.agents.restrict.to.realm.map`                                                                                                           |
| Aliases                  | `org.forgerock.agents.restrict.to.realm.map`   Introduced in Java Agent 5.6.2.1   [Recognized](preface.html#how_am_manages_multiple_aliases) from AM 7 |
| Function                 | Policy enforcement                                                                                                                                     |
| Type                     | Map- Keys: web application

- Values: allowed realms as CSV                                                                                            |
| Bootstrap property       | No                                                                                                                                                     |
| Required property        | No                                                                                                                                                     |
| Restart required         | No                                                                                                                                                     |
| Local configuration file | `AgentConfig.properties`                                                                                                                               |
| AM console               | Tab: `AM Services (from AM 7)`Title: `Restrict to Realm Map`Legacy title: `Restrict To Realm`                                                          |
