Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: Grails-Spring-Security-Core 0.4.1
-
Fix Version/s: Grails-Spring-Security-Core 0.4.2
-
Labels:None
Description
BadCredentialsException is thrown (instead of UsernameNotFoundException) if username could not be found in the system. Need a configuration to set the "hideUserNotFoundExceptions", so that i can catch both exceptions.
http://github.com/grails-plugins/grails-spring-security-core/commit/a8c44a2db0175957b5831025eee3c8aa64f04ae8