public class BeforeLoginEvent
Event that is fired by AuthenticationManager before user is logged in. There is an active database
transaction when the event is published.
Event is fired when special instance of SecurityContext is set to AppContext. It has system user
session that has full permissions in the system.
Event handlers may throw LoginException to abort authentication process.