How can we integrate Audit4j inside JBoss7.5 Server ?

18 views
Skip to first unread message

Franck Benault

unread,
Jun 7, 2018, 2:51:03 PM6/7/18
to Audit4j
Hello,

How can we integrate Audit4j inside JBoss7.5 Server ?

Using the aspects or other solution

Regards Franck


Franck Benault

unread,
Jun 20, 2018, 4:03:19 PM6/20/18
to Audit4j
If I use the aspect like the development done in Audit4j-spring (AuditAspect.java class) I have the traces in double.

if I add the code the trace :
System.out.println(" pointcut:" + jointPoint.getKind());

I see in the log :

 [stdout] (default task-46)  pointcut:method-call

 [stdout] (default task-46)  pointcut:method-execution

So I can fix the issue by changing the annotation
@Before("@annotation(org.audit4j.core.annotation.Audit) && execution(@org.audit4j.core.annotation.Audit * *.*(..))")

Reply all
Reply to author
Forward
0 new messages