Java Policy Agents 5.10

Response Attribute Map

A key:value map of policy response attribute to one or more HTTP header names, for the currently authenticated user. The key is an attribute name, and the values are the header names. Separate multiple map values with a pipe (|) character.

The response attribute is the attribute in the policy response to be fetched.

To populate the value of response attribute uid to the HTTP header CUSTOM-User-Name, enter uid in the Map Key field, and enter CUSTOM-User-Name in the Corresponding Map Value field. This corresponds to org.forgerock.agents.response.attribute.map[uid]=CUSTOM-User-Name.

In most cases, in a destination web application where an HTTP header name shows up as a request header, it is prefixed by HTTP_; lower case letters become upper case, and hyphens (-) become underscores (_). For example, response-attr-one becomes HTTP_RESPONSE_ATTR_ONE.

Format: response attribute = HEADER-NAME(S).

Example: [uid]=HEADER1|HEADER2

Property name

org.forgerock.agents.response.attribute.map

Aliases

org.forgerock.agents.response.attribute.map
  Introduced in Java Agent 5.6

com.sun.identity.agents.config.response.attribute.mapping
  Introduced in Java Agent 5.0
  Recognized from AM 6

Type

Map

  • Keys: source response attribute name

  • Values: one or more target response attribute names

Bootstrap property

No

Required property

No

Restart required

No

Local configuration file

AgentConfig.properties

AM console

Tab: Application

Title: Response Attribute Map

Legacy title: Response Attribute Mapping

Copyright © 2010-2022 ForgeRock, all rights reserved.