jcasbin / casbin-spring-boot-example

Example for casbin-spring-boot-starter
https://github.com/jcasbin/casbin-spring-boot-starter
Apache License 2.0
9 stars 7 forks source link
abac acl auth casbin example java jcasbin rbac spring spring-boot springboot starter

casbin-spring-boot-example

A simple example of casbin-spring-boot-starter.

Requirement

JDK 17+

Usage

Run with:

./gradlew bootRun

Which will start a server at http://localhost:8080 with following api:

Special thanks to https://github.com/jveverka/spring-examples/tree/java-17/spring-jcasbin