Skip to content

Instantly share code, notes, and snippets.

@bytestree
Created April 24, 2016 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bytestree/d445d81cb86247db72476397e1fa5b71 to your computer and use it in GitHub Desktop.
Save bytestree/d445d81cb86247db72476397e1fa5b71 to your computer and use it in GitHub Desktop.
override spring security error messages
AbstractUserDetailsAuthenticationProvider.badCredentials=Invalid username or password
AbstractUserDetailsAuthenticationProvider.locked=Your account is locked
AbstractUserDetailsAuthenticationProvider.disabled=Your account is disabled
@bytestree
Copy link
Author

Refer Spring Security 4 with Hibernate for complete example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment