I have the following event listener in SecurityConfig
security {
active = true useSecurityEventListener = true
//...
onInteractiveAuthenticationSuccessEvent = { e, appCtx -> // handle InteractiveAuthenticationSuccessEvent
//how to cancel user login from here??
}
}
The question is, how to stop user from logging in from that listener?
Thanks.