You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Audit4j
Hello ,
Kindly i need some explain a bout auditing in spring boot application , i saw the audit4j-demo-springboot example and i found two classes "AuditConfig", "AuditMetaData" it's required ? if yes why ?
Janith Bandara
unread,
Jan 9, 2018, 9:40:50 PM1/9/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Audit4j
Hello,
About AuditMetaData class AuditMetaData is not "absolutly" mandatory but is very, very usefull. You could use the class org.audit4j.core.DummyMetaData, but you will just have dummy values of user and origin.
The main issue is that Audit4j does not know the authentication framework used in your application.
In the example the users are defined in WebSecurityConfig but you can imaging that you could use another authentication framework like Shiro.
About AuditConfig class I have not found any other solution with SpringBoot but tell me if you find another solution.