The cookie reset feature enables the web agent to reset some cookies in the browser session while redirecting to Access Manager for authentication.
This feature is configurable through two properties in the web agent AMAgent.properties configuration file.
Enable Cookie Reset
com.sun.am.policy.agents.config.cookie.reset.enable = true
This property must be set to true if this web agent needs to reset cookies in the response while redirecting to Access Manager for authentication. By default, this is set to false.
Cookie List
This property gives the comma-separated list of cookies that need to be reset in the response while redirecting to Access Manager for authentication. This property is used only if the Cookie Reset feature is enabled.
Cookie details must be specified in the following format:
name[=value][;Domain=value] |
For example,
com.sun.am.policy.agents.config.cookie.reset.list = LtpaToken, cookie1=value1, cookie2=value2;Domain=example.com