{"repo":"apache/casbin-spring-boot-starter","free":true,"listed":false,"github":"https://github.com/apache/casbin-spring-boot-starter","clone":"git clone https://github.com/apache/casbin-spring-boot-starter.git","description":"Spring Boot 2.x & 3.x Starter for Casbin, see example at: https://github.com/jcasbin/casbin-spring-boot-example","language":"Java","stars":239,"topics":["casbin","spring","springboot","springbootstarter","jcasbin","spring-boot","abac","acl","auth","authorization"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"Casbin Spring Boot Starter Casbin Spring Boot Starter is designed to help you easily integrate jCasbin into your Spring Boot project. Requirements - Java 17 or higher - Spring Boot 4.0.0 or higher how to use 1. Add to the Spring Boot project. 2. Inject the Enforcer where you need to use it 3. Add configuration 4. The simplest configuration - Do not use other add-on configurations - Turn on Watcher 5. Use custom independent data sources - Only increase annotation when injecting custom data source Schedule A - ExceptionSettings(casbin.exception) name description default -------------------- -------------------------------------------------- --------- removePolicyFailed Throws an exception when the delete policy fails false Note: If you do not set another data source, or set the storage file location for H2, the data is stored in memory by default using H2. Notice: Since version 0.0.11, casbin-spring-boot-starter adds an id field to the database table structure by default. The version before 0.0.11 is upgraded to version 0.0.11 and later requires the user to manually add the id field. See https://github.com/jcasbin/casbin-spring-boot-starter/issues/21 for details","default_branch":null,"files":null,"tree":[],"storefront":"/r/apache","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/apache/casbin-spring-boot-starter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}