I\'m trying to invoke a protected method from a class that implements the ApplicationListener interface on successful login (S
ApplicationListener
This could also happens if you put a @PreAuthorize or @PostAuthorize in a Bean in creation. I would recommend to move such annotations to methods of interest.
@PreAuthorize
@PostAuthorize