Grails 3 sample application which demonstrates some implementations of common Spring Security customizations. In particular this covers scenarios for securing a REST API using Redis for the token store.
- Custom login response (default only provides the token object)
- Locking a user after certain number of failed attempts
- Returning a message when the login fails (default only provides the HttpStatus code)