In the 3.0–01 release, new properties support POST data preservation with sticky sessions configured. If you are using POST data preservation with a load balancer deployed in front of the agent, set the following properties for sticky sessions:
com.sun.am.policy.agents.config.postdata.preserve.stickysession.mode specifies the sticky session mode. The values can be COOKIE if the load balancer uses a cookie to get the sticky session or URL if the load balancer uses a query parameter in the URL to get the sticky session. For example:
com.sun.am.policy.agents.config.postdata.preserve.stickysession.mode = URL
com.sun.am.policy.agents.config.postdata.preserve.stickysession.value specifies the name and value of the cookie or query parameter used for the sticky session. For example:
com.sun.am.policy.agents.config.postdata.preserve.stickysession.value = AgentID=01
Important: For a sticky session to be set, you must set both of these properties correctly (and not to null).
These new properties are in the OpenSSOAgentConfiguration.properties file. Set these properties depending on the location of your agent's configuration repository. If the repository is local to the agent's host server, edit the agent's OpenSSOAgentConfiguration.properties file.
If the agent's configuration repository is centralized, use the OpenSSO Console:
Log in to the OpenSSO Administration Console.
Click Access Control, realm-name, Agents, Web, web-agent-name, and then Advanced.
Under Custom Properties, add both new properties with their corresponding values.
Click Save.