Skip to main content
LinkedIn
Copied!

Table of Contents

Authentication login failures

When a user fails to authenticate with proper credentials, safeguards ensure that repeated failed attempts to authenticate have repercussions to mitigate automated attempts to gain unauthorized access to the system.

Two security measures that impact the impact of behavior of one another are excessive login attempts and lockout policies. Excessive login attempts and lockout policies are primarily involved in Pega Platform authentication, such as in PRServlet and the basic credentials authentication service. These policies typically do not apply to other types of PRAuth authentication.

You can apply the following security measures to respond to failed login attempts:

Excessive login attempts
When the number of login attempts exceeds a specific number of attempts, the system presents the user with an error page. The default value is 3, and you can adjust this value by editing the authentication/maxLoginAttemptsCount dynamic system setting. If a user tries to log in three times in succession, regardless of the user name that they enter, the excessive login attempt failure protocol is enforced.
The excessive login attempt count is maintained on a session (or requestor) basis. If the user fails to log in on the first try, and closes and reopens their browser, then the next login attempt is considered the first attempt because the system creates a new session after a browser restart.
Lockout policies
When you enable these settings, after a number of login failures that you define, lockout policies cause a response delay. Additionally, the delay increases with each successive failed login. The lockout penalty (response delay) occurs when the lockout limit (number of failed attempts) has been exceeded.
This policy is linked to a specific user name, not the session, as is the case with the excessive login attempts algorithm. Even after exceeding the number of login attempts that is specified in this policy, if a different user name is used in each attempt, no delay occurs.
You configure these settings on the Security policies landing page.
You can choose to not set the dynamic system setting for excessive login attempts, and use the default of three attempts instead. Additionally, you can configure the lockout policies to run after 10 failed login attempts. As a result, a failed login attempt refreshes the page and displays the login page along with a generic error message.

Login failure responses

Login failures use either different or the same user names on each attempt.

The validity of the user name is irrelevant to the behavior of authentication security polices.

If the user enters a different user name on each attempt, no delay occurs, and after any number of failed attempts, the login failure response is displayed, as shown in the following figure:

Login failure response to attempts with different user names

The login failure response to an attempted login using different user names
The login failure response to an attempted login using different
                                user names

If the user enters the same user name on each attempt, the following behavior occurs:

Login failure responses to attempts with the same user name

Action Result
3 failed attempts Error page
6 failed attempts Error page
9 failed attempts Error page
10 failed attempts Initial delay on the eleventh attempt
12 failed attempts Incremental delay, followed by error page
13 failed attempts Delay (even though new session is established)

The following figure shows the error page response:

Authentication error page

The "Authentication failed" screen
The screen that is showed when Pega Authentication failed

Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us