---
title: Enable Policy Evaluation in User Authentication Realm
description: When true, perform policy evaluation in the realm to which the user is authenticated, and ignore the value in Policy Evaluation Realm Map.
component: java-agents
version: 2025.11
page_id: java-agents:properties-reference:org.forgerock.agents.user.realm.overrides.policy.evaluation.realm.enabled
canonical_url: https://docs.pingidentity.com/java-agents/2025.11/properties-reference/org.forgerock.agents.user.realm.overrides.policy.evaluation.realm.enabled.html
---

# Enable Policy Evaluation in User Authentication Realm

When `true`, perform policy evaluation in the realm to which the user is authenticated, and ignore the value in [Policy Evaluation Realm Map](org.forgerock.agents.policy.evaluation.realm.map.html).

Use this property for web applications that dynamically set the realm for authentication.

|                          |                                                                                                                                                                                       |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Property name            | `org.forgerock.agents.user.realm.overrides.policy.evaluation.realm.enabled`                                                                                                           |
| Aliases                  | `org.forgerock.agents.user.realm.overrides.policy.evaluation.realm.enabled`   Introduced in Java Agent 5.7.1   [Recognized](preface.html#how_am_manages_multiple_aliases) from AM 7.1 |
| Function                 | Policy enforcement                                                                                                                                                                    |
| Type                     | Boolean: `true` returns true; all other strings return `false`.                                                                                                                       |
| Default                  | `false`                                                                                                                                                                               |
| Bootstrap property       | No                                                                                                                                                                                    |
| Required property        | No                                                                                                                                                                                    |
| Restart required         | No                                                                                                                                                                                    |
| Local configuration file | `AgentConfig.properties`                                                                                                                                                              |
| AM console               | Tab: `AM Services (from AM 7.1)`Title: `Enable Policy Evaluation in User Authentication Realm`Legacy title: `Perform Policy Evaluation in User Authenticated Realm`                   |
