Java Policy Agents 5.9.1

Response Attribute Map

Response Attribute Mapping

Maps a policy response attribute to one or more HTTP headers for the currently authenticated user. The map key is an attribute name, and the map values are HTTP 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 under 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

Property aliases

org.forgerock.agents.response.attribute.map (since 5.6)

com.sun.identity.agents.config.response.attribute.mapping (since 5.0)

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

Copyright © 2010-2023 ForgeRock, all rights reserved.