- Notifications
You must be signed in to change notification settings - Fork8
Example for casbin-spring-boot-starter
License
jcasbin/casbin-spring-boot-example
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A simple example ofcasbin-spring-boot-starter.
JDK 17+
The project will start a server by default athttp://localhost:8080 with following api:
GET /auth/login: login to system.Request params:
username:adminoruserpassword:pwd
Example:
GET /auth/login?username=admin&password=pwdGET /auth/logout: logout the system.GET /data/admins/all: available when login withadminaccount.PUT /data/admins/state/{state}: Change the protected data, available when login withadmin/useraccount.GET /data/users/all: available when login withadmin/useraccount.
Special thanks tohttps://github.com/jveverka/spring-examples/tree/java-17/spring-jcasbin
About
Example for casbin-spring-boot-starter
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.