Web Policy Agents 5.9.1

Session Attribute Map

Map of session attribute to HTTP headers:

  • Map key: Session attribute for the currently authenticated user

  • Map value: One or more HTTP header names

To map the value of the session attribute UserToken to the HTTP header CUSTOM-userid, configure com.sun.identity.agents.config.session.attribute.mapping[UserToken]=CUSTOM-userid.

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: session attribute = HEADER_NAME(S)

Example: [UserToken]=HEADER1|HEADER2

Default: Empty

Property name


Property aliases

com.sun.identity.agents.config.session.attribute.mapping (since 4.x)


String Map

Bootstrap property


Required property


Restart required


AM console tab


Copyright © 2010-2023 ForgeRock, all rights reserved.