mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-5234 Fix Login filter
This commit is contained in:
@@ -1106,9 +1106,21 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
|
||||
auditQueryParams.addSearchKey(RM_AUDIT_DATA_NODE_NODEREF, nodeRef);
|
||||
}
|
||||
else if (params.getEvent() != null)
|
||||
{
|
||||
if (params.getEvent().equalsIgnoreCase("Login.Success"))
|
||||
{
|
||||
auditQueryParams.addSearchKey(RM_AUDIT_DATA_LOGIN_FULLNAME, null);
|
||||
}
|
||||
else
|
||||
if (params.getEvent().equalsIgnoreCase("Login.Failure"))
|
||||
{
|
||||
auditQueryParams.addSearchKey(RM_AUDIT_DATA_LOGIN_ERROR, null);
|
||||
}
|
||||
else
|
||||
{
|
||||
auditQueryParams.addSearchKey(RM_AUDIT_DATA_EVENT_NAME, params.getEvent());
|
||||
}
|
||||
}
|
||||
|
||||
// Get audit entries
|
||||
SiteInfo siteInfo = siteService.getSite(DEFAULT_SITE_NAME);
|
||||
|
Reference in New Issue
Block a user