mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-5234 Minor refactor.
This commit is contained in:
@@ -1107,12 +1107,11 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
|
|||||||
}
|
}
|
||||||
else if (params.getEvent() != null)
|
else if (params.getEvent() != null)
|
||||||
{
|
{
|
||||||
if (params.getEvent().equalsIgnoreCase("Login.Success"))
|
if (params.getEvent().equalsIgnoreCase(RM_AUDIT_EVENT_LOGIN_SUCCESS))
|
||||||
{
|
{
|
||||||
auditQueryParams.addSearchKey(RM_AUDIT_DATA_LOGIN_FULLNAME, null);
|
auditQueryParams.addSearchKey(RM_AUDIT_DATA_LOGIN_FULLNAME, null);
|
||||||
}
|
}
|
||||||
else
|
else if (params.getEvent().equalsIgnoreCase(RM_AUDIT_EVENT_LOGIN_FAILURE))
|
||||||
if (params.getEvent().equalsIgnoreCase("Login.Failure"))
|
|
||||||
{
|
{
|
||||||
auditQueryParams.addSearchKey(RM_AUDIT_DATA_LOGIN_ERROR, null);
|
auditQueryParams.addSearchKey(RM_AUDIT_DATA_LOGIN_ERROR, null);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user