The WAMulator injects some headers automatically as a request passes through it. Others can be injected as specified in policy configuration and can be either fixed or use values from the user's profile. This page outlines the headers automatically injected but also explains the #policy-cn user header to clarify the source of the value of that header.
policy-service-url
This header conveys to applications the location of the fine grained permissions rest service.
Format |
plain text
|
Description |
The URI for the Fine Grained Permissions REST service implemented in the simulator. The host and port used for the auto-generated header value can be adjusted via the <cctx-mapping> directive's policy-service-url-gateway attribute.
|
policy-signin
Format |
plain text value currently containing the characters: signmein
|
Description |
The name of a query string parameter that should be added to a request to force login. When a request is seen with the value of this header as the name of a query parameter (either empty or having any value) in a session-less state, that request is redirected to the simulator sign-in page. Once authenticated, then the user agent is redirected back to the original request. When seen on a request that has an active session this parameter is ignored. See Developing SSO Protected Applications for more detail.
|
policy-signout
Format |
plain text value containing the characters: signmeout
|
Description |
The name of a query string parameter that should be added to a request to force logout. When a request is seen with the value of this header as the name of a query parameter (either empty or having any value) in a session-active state, that session is terminated and the request is redirected back to the same request clearing the session cookie in the process. When such a request passes through the simulator with a session-less state the parameter is ignored and the request is handled by regular processing. See Developing SSO Protected Applications for more detail.
|
policy-cn
Format |
userid potentially encoded according to RFC 2047 if multi-byte characters are found in its value.
|
Description |
The common name of the user. This corresponds to their sign-in username. Its value is the same as that specified for the name attribute of a user element when using an XML User Source and can not be overwritten by an attribute with name cn.
|