I am implementing a custom InteractiveAuthenticationSuccessEventListener to react on events from the spring-security-core plugin – the source file is in /src/groovy
In this class, how can I use a service defined in grails-app/services ? Dependency-injection (obviously?) does not work.
Here are two options
The first option is better IMO