Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: Grails-Spring-Security-Core 0.4
-
Fix Version/s: Grails-Spring-Security-Core 0.4.1
-
Labels:None
Description
Unable to catch AuthenticationEvents (like, AuthenticationSuccessEvent, AuthenticationFailureBadCredentialsEvent, etc.,) in the listeners, while using Grails-Spring-Security-Core 0.4.
P.S:
The ProviderManager is initialized with a NullEventPublisher by default and hence none of the events were thrown. Injecting DefaultAuthenticationEventPublisher should solve the issue.
http://github.com/grails-plugins/grails-spring-security-core/commit/60882b898b02209a85a8f6853bcb0f5664fafc91