Web Policy Agents 5.10

Response Attribute Map

Maps a policy response attribute to one or more HTTP headers for the authenticated user:

  • Key: Policy response attribute

  • Value: One or more HTTP header names. Underscores in header names can cause errors in some web containers. Either don’t use underscores in header names, or see your web container documentation for information about how they are managed.

To populate the value of response attribute uid under CUSTOM-User-Name, enter uid in the key field, and CUSTOM-User-Name in the corresponding value field, com.sun.identity.agents.config.response.attribute.mapping[uid]=Custom-User-Name.

In most cases, in a destination 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, CUSTOM-userid becomes HTTP_CUSTOM-USERID.

Format: response attribute = HEADER-NAME(S)

Example: [uid]=HEADER1|HEADER2

Default: Empty

Property name

com.sun.identity.agents.config.response.attribute.mapping
  Introduced in Web Agent 4.x

Type

String Map

Bootstrap property

No

Required property

No

Restart required

No

AM console

Tab: Application

Title: Response Attribute Map

Copyright © 2010-2022 ForgeRock, all rights reserved.