Web Agents 5.10.3

List of URLs to Receive JSON-Formatted Responses

A list of resource URLs that trigger a JSON-formatted response from the agent, and, optionally, override the default HTTP status code.

Use this property for non-browser-based, or AJAX applications, that do not want to redirect users to the AM user interface for authentication.

Set the HTTP Return Code for JSON-Formatted Responses property to a supported HTTP code, for example 202, to prevent applications that do not support redirects, for example, from displaying a default error page.

Example:

org.forgerock.agents.config.json.url[0]=http*://.example.com:/api/*

org.forgerock.agents.config.json.response.code=202

Performing a GET operation that matches the example triggers an HTTP result code 202 Accepted, and a JSON response containing 302 Found.

Default: Empty

Property name

org.forgerock.agents.config.json.url
  Introduced in Web Agent 4.x

Function

JSON-formatted response

Type

String Map

Bootstrap property

No

Required property

No

Restart required

No

AM console

Tab: Miscellaneous

Title: List of URLs to Receive JSON-Formatted Responses

Copyright © 2010-2024 ForgeRock, all rights reserved.