---
title: Java Class for Matching Not Enforced Rules
description: The Java class used to match URIs and IP addresses embedded within not enforced rules.
component: java-agents
version: 2025.11
page_id: java-agents:properties-reference:org.forgerock.agents.not.enforced.rule.pattern.matcher.classname
canonical_url: https://docs.pingidentity.com/java-agents/2025.11/properties-reference/org.forgerock.agents.not.enforced.rule.pattern.matcher.classname.html
---

# Java Class for Matching Not Enforced Rules

The Java class used to match URIs and IP addresses embedded within not enforced rules.

The specified class must implement the interface `com.sun.identity.agents.common.RulePatternMatcher`.

If the class fails to instantiate, an error is logged and the default NotEnforcedRulePatternMatcher is created instead.

|                          |                                                                                                     |
| ------------------------ | --------------------------------------------------------------------------------------------------- |
| Property name            | `org.forgerock.agents.not.enforced.rule.pattern.matcher.classname`                                  |
| Aliases                  | `org.forgerock.agents.not.enforced.rule.pattern.matcher.classname`   Introduced in Java Agent 5.9.0 |
| Function                 | Not-enforced                                                                                        |
| Type                     | Classname                                                                                           |
| Default                  | `com.sun.identity.agents.common.NotEnforcedRulePatternMatcher`                                      |
| Bootstrap property       | Yes                                                                                                 |
| Required property        | No                                                                                                  |
| Restart required         | No                                                                                                  |
| Local configuration file | `AgentBootstrap.properties`                                                                         |
