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)
- Two databases HOT 11
- What is the use of casbin springboot starter? HOT 1
- Use English everywhere to gain more audience HOT 2
- Use semantic-release to automatically release new versions HOT 18
- Redis Connection Failure HOT 5
- Fix CI error HOT 1
- JDBC Adapter for PostgreSQL fails for creation of Table HOT 12
- DB2Adapter can not work after adding id for the casbin_rule table HOT 2
- JDBCAdapter only support fixed table name HOT 3
- JdbcAdapter will not load the policy from database in initial phase HOT 4
- The built-in Watcher doesn't support customized Redis channel, how to use the official Java's Redis-Watcher? HOT 5
- Replace jacsbin 1.9.2 in casbin-spring-boot-starter with version 1.21.0 HOT 4
- Support for policy subset loading 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
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.