Publishing authorization granted events in Spring Security requires a custom implementation of AuthorizationEventPublisher
. It would be nice to have a setter on SpringAuthorizationEventPublisher
that takes a predicate that filters out events so a custom implementation is not needed.