Curl to access Spring Security protected application
Found a post on it - very useful - though it misses 'resources' dir in the standard name - the corrected one is here
curl --data "j_username=&j_password=" http://localhost:8080/yoursecureapp/resources/j_spring_security_check --cookie-jar cookies.txt
Then curl http://localhost:8080/yoursecureapp/secureservice --cookie cookies.txt
The original link - https://bowerstudios.com/node/913
Found a post on it - very useful - though it misses 'resources' dir in the standard name - the corrected one is here
curl --data "j_username=&j_password=" http://localhost:8080/yoursecureapp/resources/j_spring_security_check --cookie-jar cookies.txt
Then curl http://localhost:8080/yoursecureapp/secureservice --cookie cookies.txt
The original link - https://bowerstudios.com/node/913