Please follow the below steps to overcome the common issue of infinite redirection happening between OpenSSO server and the Client (agents, dist auth). One common cause is the cookie
encode/decode happening on either the server or client or both.
Case 1) If OpenSSO 8.0 (deployed on any container) and J2EE Agent 3.0 or openssoclientsdk.jar is being used, by the below property
should be set to "true".
com.iplanet.am.cookie.c66Encode = true
You can reach the above property by logging into the Opensso Console and traversing the below path:
(Configuration => Servers and Sites => Default Server Settings => Advanced)
By default the value for the above property is set as "false".
Case 2) If the container used is Sun Java System Web Server 7.0 (both server/client), below steps need to be done:
- The admin should be informed to disable the container level cookie encoding.
Log into the SJS Web Server 7.0 Admin console and follow the below path
(Configurations=> [server instance] => Java => Servlet
Container => Encode Cookies)
By default the property is enabled.
-
Also make sure that the below property is set to "false" in OpenSSO server.
com.iplanet.am.cookie.encode = false.
You can reach the above property by logging into the Opensso Console and traversing the below path:
(Configuration => Servers and Sites => Server Name => Security =>Encode Cookie Value)
By default the value for the above property is set as "false".
Case 3) There will not be any issue with non-Sun Java System Web Server 7.0 client with non-Sun Java System Web Server 7.0 as long as the below property is set to "false"
com.iplanet.am.cookie.encode = false
Case 4) If a configuration involves Sun Java System Web Server 7.0 (server or/and client) and for some
reason the Sun Java System Web Server 7.0 container level cookie encoding cannot be disabled, then
the property settings need to be looked into case by case.