Users are redirected back to login when clicking any task
search cancel

Users are redirected back to login when clicking any task

book

Article ID: 422727

calendar_today

Updated On:

Products

CA Identity Manager

Issue/Introduction

When logging into Identity Manager on a newly created 14.5 environment, and clicking any task, the user is redirected back to the IM login screen.

A review of the http session via the browser developer tools showed that there was no jsessionid.

 

Environment

14.5.x

Cause

The web.xml file had an unexpected section that was added for cookies = true, which is not a default setting, and is neither required nor recommended for Identity Manager.

<!--<session-config>

<session-timeout>60</session-timeout>

<cookie-config>

        <http-only>true</http-only>

        <secure>true</secure>

</cookie-config>

<tracking-mode>COOKIE</tracking-mode>

</session-config> -->

After removing the above setting, the jsessionid was generated as expected, and the tasks worked okay.

Resolution

Remove or comment out the <session-config> section in the web.xml, located in the deployed iam_im.ear in ../user_console.war.

 

<!--<session-config>

<session-timeout>60</session-timeout>

<cookie-config>

        <http-only>true</http-only>

        <secure>true</secure>

</cookie-config>

<tracking-mode>COOKIE</tracking-mode>

</session-config> -->

 

After removing or commenting out the above section, restart the application server.