Lionel Schwarz created SYNCOPE-1978:
---------------------------------------

             Summary: 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


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)

Reply via email to