2013-06-03 17:54:58 +03:00
|
|
|
|
=========
|
2013-07-02 13:54:41 +03:00
|
|
|
|
|
2013-07-14 14:03:04 +03:00
|
|
|
|
## Spring Security REST Example Project
|
2013-07-02 13:54:41 +03:00
|
|
|
|
|
|
|
|
|
|
2013-07-14 14:21:30 +03:00
|
|
|
|
### Relevant Articles:
|
|
|
|
|
- [Spring Security Expressions <20> hasRole Example](http://www.baeldung.com/spring-security-expressions-basic)
|
|
|
|
|
|
|
|
|
|
|
2013-07-02 13:54:41 +03:00
|
|
|
|
### Build the Project
|
|
|
|
|
```
|
|
|
|
|
mvn clean install
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Use the REST Service
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
curl http://localhost:8080/spring-security-rest-full/foos
|
|
|
|
|
```
|