Description:
If a user logs into the Clarity application and does not enter the exact literal string that matches the literal string stored in the CMN_SEC_USERS.USER_NAME field, the CMN_SEC_USERS.LAST_LOGGED_IN_DATE will not reflect the login date/time stamp or the value is NULL.
Steps to Reproduce:
SELECT ID, USER_NAME, LAST_LOGGED_IN_DATE
FROM CMN_SEC_USERS
WHERE USER_NAME = 'admin'
Expected: The CMN_SEC_USERS.LAST_LOGGED_IN_DATE should reflect the latest successful login.
Actual: The CMN_SEC_USERS.LAST_LOGGED_IN_DATE has not been updated.
Solution:
WORKAROUND:
Login using the same literal string that is stored in the CMN_SEC_USERS.USER_NAME field
Or
Edit the file CLARITY_HOME\ META-INF\security\pmd\securityPMD.xml
Section: security.updateLoginDetails
Change the statement
from
update CMN_SEC_USERS set LAST_LOGGED_IN_DATE = ? where user_name = ?
to
update CMN_SEC_USERS set LAST_LOGGED_IN_DATE = ? where UPPER(user_name) = UPPER(?)
STATUS/RESOLUTION:
CLRT-27914 is a duplicate to CLRT-12011 which is resolved in Clarity 12.1.0.
If you are currently using Clarity 12.0.6, you can request and implement the latest GENERIC HOTFIX. For more information read TEC522707.
Keywords: CLARITYKB, CLRT-27914, CLRT-26934, CLRT-12011, clarity8open, clarity1210resolved, access, data, account history.