Demo Spring Boot project for JACLP library. The demo uses Spring Security
and
Spring Data JPA
and by default runs on H2
in-memory database.
Most important classes in this example are located in
cz.polankam.jaclp.demo.security.*
package. Another interesting class is method security configuration located in
cz.polankam.jaclp.demo.config.MethodSecurityConfig
.
The application can be compiled and run with maven
, therefore installed
maven
on the machine is a must. And of course JDK
is needed, the application
can be run on Java 17+
. After maven
installation, run the application with:
mvn spring-boot:run
Project contains something like integration tests which should demonstrate that the application with ACL/ABAC permissions works and works properly. Tests can be found in test maven directory.
These tests can be run with maven with following command:
mvn test