-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementation of @CreatedBy
and @UpdatedBy
#1537
Conversation
@sdelamo I still need to add docs, but here is my initial implementation if you'd like to go ahead and take a look. I split it out into its own module due to the Micronaut Data dependencies, but we can move it elsewhere if you prefer. The implementation is based on some helpful support for similar features from the Micronaut Data runtime module (See the usage of I opted to simply use the |
...c/main/java/io/micronaut/security/audit/event/listeners/UserAuditingEntityEventListener.java
Outdated
Show resolved
Hide resolved
I registered the converter via a |
security/src/main/java/io/micronaut/security/converters/PrincipalToStringConverter.java
Outdated
Show resolved
Hide resolved
security/src/main/java/io/micronaut/security/audit/UserAuditingEntityEventListener.java
Outdated
Show resolved
Hide resolved
remove ununsed imports remove unused imports
Quality Gate passedThe SonarCloud Quality Gate passed, but some issues were introduced. 3 New issues |
Initial implementation of support for identity auditing with Micronaut Data through addition of
@CreatedBy
and@UpdatedBy
annotations.