[
https://issues.apache.org/jira/browse/SYNCOPE-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18091994#comment-18091994
]
ASF subversion and git services commented on SYNCOPE-1978:
----------------------------------------------------------
Commit dc1131833cbfe4e363be0b6417edcecd6fb62a69 in syncope's branch
refs/heads/master from Oleg Zimakov
[ https://gitbox.apache.org/repos/asf?p=syncope.git;h=dc1131833c ]
[SYNCOPE-1978] Search audit events by username (#1443)
> Search in auditevent based on username
> --------------------------------------
>
> Key: SYNCOPE-1978
> URL: https://issues.apache.org/jira/browse/SYNCOPE-1978
> Project: Syncope
> Issue Type: Improvement
> Components: core
> Affects Versions: 4.0.6
> Reporter: Lionel Schwarz
> Priority: Major
> Time Spent: 40m
> Remaining Estimate: 0h
>
> In Syncope 3.0, it was possible to search audit entries by username [1].
> Looking at the code [2], I guess it was actually a bug.
> In syncope 4.0, this seems to be fixed [3]and therefore it is not possible to
> do this.
> This functionnality would be very useful when it is not possible to get the
> real key of a user (for example after deletion)
>
>
> [1] GET /audit/entries?entityKey=LOGIN
> [2]
> [https://github.com/apache/syncope/blob/syncope-3.0.16/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/dao/JPAAuditConfDAO.java#L58]
> [3]
> [https://github.com/apache/syncope/blob/syncope-4.0.6/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/dao/JPAAuditEventDAO.java#L51]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)