---
title: Invert Not-Enforced URIs
description: When true, enforce policy for the URIs and patterns specified by the Not-Enforced URIs property, instead of allowing access to them without authentication.
component: java-agents
version: 2025.11
page_id: java-agents:properties-reference:org.forgerock.agents.notenforced.uri.invert.enabled
canonical_url: https://docs.pingidentity.com/java-agents/2025.11/properties-reference/org.forgerock.agents.notenforced.uri.invert.enabled.html
---

# Invert Not-Enforced URIs

|   |                                              |
| - | -------------------------------------------- |
|   | The use of this property is NOT recommended. |

When `true`, enforce policy for the URIs and patterns specified by the [Not-Enforced URIs](org.forgerock.agents.notenforced.uri.list.html) property, instead of allowing access to them without authentication.

For security considerations, do not enable this property. Instead, use the NOT keyword to invert specific rules in the [Not-Enforced URIs](org.forgerock.agents.notenforced.uri.list.html).

|                          |                                                                                                                                                                                                                                                   |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Property name            | `org.forgerock.agents.notenforced.uri.invert.enabled`                                                                                                                                                                                             |
| Aliases                  | `com.sun.identity.agents.config.notenforced.uri.invert`   Introduced in Java Agent 5.0   [Recognized](preface.html#how_am_manages_multiple_aliases) from AM 6`org.forgerock.agents.notenforced.uri.invert.enabled`   Introduced in Java Agent 5.6 |
| Function                 | Not-enforced                                                                                                                                                                                                                                      |
| 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: `Application`Title: `Invert Not-Enforced URIs`Legacy title: `Invert Not Enforced URIs`                                                                                                                                                       |
