To install the 3DEXPERIENCE platform with a single FQDN, you must have one cookie name per service to handle session affinity,
and avoid getting some service cookies overridden by other cookies. In that case, you need to
update the configuration after the 3DComment service installation, to send the cookie name to the shared configuration.
-
Edit 3DComment
securityContext.xml file:
For external TomEE+ on Linux , go to
<externalTomEEInstallPath>/webapps/3dcomment/WEB-INF/classes/securityContext.xml
For external TomEE+ on Windows, go to
<externalTomEEInstallPath>\webapps\3dcomment\WEB-INF\classes\securityContext.xml
For embedded TomEE+ on Linux , go to
<3DCommentInstallPath>/linux_a64/code/tomee/webapps/3dcomment/WEB-INF/classes/securityContext.xml
For embedded TomEE+ on Windows, go to
<3DCommentInstallPath>\win_b64\code\tomee\webapps\3dcomment\WEB-INF\classes\securityContext.xml
-
Update these two properties inside the beans
casAuthenticationFilterForLogin,
casAuthenticationFilter and
casValidationFilter.
<property name="serverIdCookieName" value="3DCOMMENTSERVERID"
/>
<property name="serverIdParamName" value="3dcommentserverid"
/>
-
Start and stop the external / embedded TomEE+ as described in this section.