Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakarta.ee-community] JPA Audit function

The JPA list or specific list for other specs look better suited for such detailed feature requests or suggestions for improvement.

Werner



On Wed, May 29, 2019 at 9:13 PM Guillermo González de Agüero <z06.guillermo@xxxxxxxxx> wrote:
Sorry didn't see you also sent it to the JPA list :x

El mié., 29 may. 2019 21:11, Guillermo González de Agüero <z06.guillermo@xxxxxxxxx> escribió:
Hi,

You should be able to inject the JSR 375 SecurityContext into a CDI managed JPA event listener. User principals can be obtained from there.

PS: the JPA mailing list would be better suited for this thread

El mié., 29 may. 2019 12:04, Gergely Molnár <gergelymolnarpro@xxxxxxxxx> escribió:
Hi All!

I have a idea of new feature. We are able to audit entities before add, update, delete, but we are not able to get principal name from CDI/EJB. It would be useful if the principal name can be available with injection. I mean when the entity is under audit, then we are able to link that with principal name programmatically. Am I wrong? Is it already solved?

Best regards/Üdvözlettel,
Gergely Molnár
_______________________________________________
jakarta.ee-community mailing list
jakarta.ee-community@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jakarta.ee-community
_______________________________________________
jakarta.ee-community mailing list
jakarta.ee-community@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jakarta.ee-community

Back to the top