This function resets the cookies specified in AMAgent.properties and invokes the set action that the agent passes in for each of them. It is enabled by setting the following properties:
com.sun.am.policy.agents.config.cookie.reset.enable: This property must be set to true if the web agent needs to reset cookies in the response before redirecting them to Access Manager for Authentication. By default it is set to false.
com.sun.am.policy.agents.config.cookie.reset.list: This property (used only if com.sun.am.policy.agents.config.cookie.reset.enable is enabled) contains a comma-separated list of cookies that need to be included in the response redirected to Access Manager.
See the AMAgent.properties file for more information.