How to read audit4j entries

I am trying to find examples where we read audit events from for audit4j.

So far, I have used JDBC calls to read data from database tables. The problem is that the column of items in this table stores serialized objects as a varchar string.

When reading from an ObjectOutputStream, I get a StreamCurroptedException.

So, I think I'm looking for ways to read verified events with all the associated data. So far, I have not found a good way to do this. Can someone please point me in the right direction.

+4
source share

Source: https://habr.com/ru/post/1675701/


All Articles