This is a sample project to illustrate how to use ACL-based Authorization for entities exposed by Spring Data REST. This is referred by: http://stackoverflow.com/questions/26546072/using-spring-security-acl-with-spring-data-rest
Note that "conf" directory contains config files that needs to be placed at /etc/bookstore/.
create db user book with password book: createuser --createdb --no-createrole -P book
create db: createdb bookstore -O book -E 'UTF8'
Run Spring Security ACL schema - bookstore/src/scripts/sql/createAclSchemaPostgres.sql
Do a maven build and copy bookstore.war under tomcat/webapps.
Run bookstore config sql - bookstore/src/scripts/sql/bookstoreConfig.sql
Go over the curl samples in bookstore/src/test/curl/bookstorecurl.txt to see how it works.