Java Agents 2024.11

Bad advice loop termination HTTP status

When a user has insufficient credentials to access a requested resource, AM can return policy advice that requires the user to authenticate at a higher level.

If there is an error in the AM configuration, an infinite authentication loop can occur, where the user is repeatedly asked to authenticate.

This property defines the HTTP status code to return to the user’s browser when the agent breaks a loop.

Integers in the range 100-299 and 400-599 are valid; however, not all browsers accept all status codes in this range.

Property name

org.forgerock.agents.bad.advice.loop.termination.http.code

Aliases

org.forgerock.agents.bad.advice.loop.termination.http.code
  Introduced in Java Agent 2023.11
  Recognized from AM 7.1

Function

Bad configuration detection

Type

Integer

Default

508

Bootstrap property

No

Required property

No

Restart required

No

Local configuration file

AgentConfig.properties

Copyright © 2010-2024 ForgeRock, all rights reserved.