Web Policy Agents 5.10

Session Attribute Map

Map of session attribute to HTTP header name:

  • Map key: Session attribute for the currently authenticated user

  • Map 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 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

  Introduced in Web Agent 4.x


String Map

Bootstrap property


Required property


Restart required


AM console

Tab: Application

Title: Session Attribute Map

Copyright © 2010-2022 ForgeRock, all rights reserved.