Comments (3)
from casbin-spring-boot-starter.
@lianghujun 因为 casbin-spring-boot-starter 不推荐直接使用 FileAdapter 进行策略存储,并且只支持从 FileAdapter 读取策略(如需保存至文件需要重写FileAdapter),对于不使用 FileAdapter 并且未指定存储方式时,将会使用h2进行存储(默认存储在内存中),如需指定h2存档文件位置,可参考spring boot h2相关配置
from casbin-spring-boot-starter.
谢谢啦,之前不懂自动配置原理。自己参考练习时没有配置resource/META-INF/spring.factories 。(后来的小伙伴正常集成是不需要配置的哈)
from casbin-spring-boot-starter.
Related Issues (20)
- Support all enforcers types in AutoConfiguration HOT 4
- Update casbin jdbc and jcasbin dependencies HOT 2
- Fix CI error HOT 2
- H2 2.0.202 seems not work with default jdbcadapter HOT 3
- Replace built-in adapter and watcher with official jdbc-adapter and redis-watcher HOT 7
- WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils HOT 5
- 0.5.0 version cannot find Enforcer to inject HOT 1
- feature support for springboot3.0 HOT 1
- Watcher Jedis java.lang.NoSuchMethodError error HOT 6
- Casbin Starter Can't Use Dynamic Data Source HOT 3
- Release Casbin SpringBoot Starter v1.0.0 HOT 2
- [feature] Update dependencies to resolve Maven alerts HOT 2
- RedisWatcherAutoConfigration bug HOT 3
- unable to refresh roles for user HOT 3
- Could you add JDK information to the docs? HOT 3
- I want to add multiple sets of Casbin configurations. How should I write the code for this? HOT 3
- Dependency conflict + wrong tag for dependency jcasbin HOT 2
- Failed to release new Maven package HOT 3
- Model not found HOT 2
- Watcher update after transaction commit HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from casbin-spring-boot-starter.