grails,grails-plugin,spring-security-rest
Change your cURL request as: curl -i -H "Content-Type: application/json" -X POST -data '{"username":"jimi","password":"jimispassword"}' http://localhost:8080/restful-grails-springsecurity-greach2014/api/login Notice that i have changed the '-d' with '--data'...
spring,rest,spring-security,spring-security-rest
To change the Login Form response to a custom Http Response you need to configure a custom http response handler for Http Security config. If you are using xml for your security configuration use the configuration shown below, failureHandler used is the one available in Spring Security package. Update the...