Closed liergou99 closed 4 years ago
@liergou99 jCasbin supports a lot of DBs, see the adapters under the Java tab: https://casbin.org/docs/en/adapters
It seems that Casbin's adapter cannot use external tables.
What do you mean by "external tables"?
The application system generally has its own user table, such as users, roles, etc.
Most adapters allow you to specify a DB name in args, so you can point it to an existing DB. By default it will save/load a table named "casbin_rule".
How jcasbin connects to the database, for example: mysql, pg. Can jcasbin use an external authority table like SpringSecurity?