---
title: Login Attempt Limit (deprecated)
description: When the value of this property is greater than zero, it defines the maximum number of failed login attempts allowed during a browser session. After this number, the agent blocks requests from the user.
component: java-agents
version: 2025.11
page_id: java-agents:properties-reference:org.forgerock.agents.login.attempt.limit.count
canonical_url: https://docs.pingidentity.com/java-agents/2025.11/properties-reference/org.forgerock.agents.login.attempt.limit.count.html
---

# Login Attempt Limit (deprecated)

When the value of this property is greater than zero, it defines the maximum number of failed login attempts allowed during a browser session. After this number, the agent blocks requests from the user.

Specify a value greater than zero. For example, if the property is set to 3, the agent blocks the fourth login request.

Use this property to mitigate the risk of brute force attacks.

|                          |                                                                                                                                                                                                                                           |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Property name            | `org.forgerock.agents.login.attempt.limit.count`                                                                                                                                                                                          |
| Aliases                  | `org.forgerock.agents.login.attempt.limit.count`   Introduced in Java Agent 5.6`com.sun.identity.agents.config.login.attempt.limit`   Introduced in Java Agent 5.0   [Recognized](preface.html#how_am_manages_multiple_aliases) from AM 6 |
| Function                 | Deprecated                                                                                                                                                                                                                                |
| Type                     | Integer                                                                                                                                                                                                                                   |
| Default                  | `0`                                                                                                                                                                                                                                       |
| Bootstrap property       | No                                                                                                                                                                                                                                        |
| Required property        | No                                                                                                                                                                                                                                        |
| Restart required         | No                                                                                                                                                                                                                                        |
| Local configuration file | `AgentConfig.properties`                                                                                                                                                                                                                  |
| AM console               | Tab: `Global`Title: `Login Attempt Limit (deprecated)`                                                                                                                                                                                    |
