Hi
I found out how to translate some messages for exampel
My problem is that I got this message below that I would like to translate. I searched in the message.properties file of Spring Security but there is no such message.Code:AbstractUserDetailsAuthenticationProvider.badCredentials
https://fisheye.springsource.org/browse/~br=master/spring-security/core/src/main/resources/org/springframework/security/messages.properties?r=59ac4c8b964c8ffa86084e53b99f c56fe1415516&r=6db747292815b626f8c6f94bc8e48c2d85c c3f53&r=6db747292815b626f8c6f94bc8e48c2d85cc3f53&r =6db747292815b626f8c6f94bc8e48c2d85cc3f53&r=6db747 292815b626f8c6f94bc8e48c2d85cc3f53&r=59ac4c8b964c8 ffa86084e53b99fc56fe1415516
How can I make a custom translation of the error below?
I also looked into the actual AbstractUserDetailsAuthenticationProvider class and the only clue is this but can't find anything similar in message.properties.Code:UserDetailsService returned null, which is an interface contract violation
Assert.notNull(user, "retrieveUser returned null - a violation of the interface contract");


Reply With Quote