Trying to build a plugin with an event listener for Restricted Page View Not Permitted Events,
I studied the API looking through all types of events that may be related.
The most promising was com.atlassian.confluence.internal.audit.event.RestrictedPageViewNotPermittedEvent
However it is internal and not loadable (Runtime Bundle Exception thrown on plugin installation).
Is there any other relevant Event Classes? Or is there a way to “forcefully” load this class ?