java-tutorials/spring-security-rest-full
eugenp 2e5b1ac48d naming cleanup 2016-01-25 00:55:53 +02:00
..
.externalToolBuilders modify spring query 2015-01-28 17:56:05 +02:00
.settings upgrade and eclipse work 2015-06-20 05:40:22 +01:00
src naming cleanup 2016-01-25 00:55:53 +02:00
.classpath spring boot cleanup work 2015-07-04 19:17:16 +03:00
.gitignore git security rest full 2013-06-03 17:54:58 +03:00
.project modify spring query 2015-01-28 17:56:05 +02:00
.springBeans naming cleanup 2016-01-25 00:55:53 +02:00
README.md Update README.md 2014-05-16 22:49:47 +03:00
pom.xml simulate csrf attack 2016-01-24 22:20:22 +02:00

README.md

=========

REST Example Project with Spring Security

Relevant Articles:

Build the Project

mvn clean install

Set up MySQL

mysql -u root -p 
> CREATE USER 'tutorialuser'@'localhost' IDENTIFIED BY 'tutorialmy5ql';
> GRANT ALL PRIVILEGES ON *.* TO 'tutorialuser'@'localhost';
> FLUSH PRIVILEGES;

Use the REST Service

curl http://localhost:8080/spring-security-rest-full/foos