casbin / jcasbin

An authorization library that supports access control models like ACL, RBAC, ABAC in Java
https://casbin.org
Apache License 2.0
2.4k stars 464 forks source link

Add SyncedEnforcer to support multi-threading #88

Closed hsluoyz closed 4 years ago

hsluoyz commented 4 years ago

See what is multi-threading: https://casbin.org/docs/en/multi-threading

See jCasbin's feature set: https://casbin.org/docs/en/overview#feature-set-for-different-languages

image

We can port the Go code to Java: https://github.com/casbin/casbin/blob/master/enforcer_synced.go

hsluoyz commented 4 years ago

@tldyl can you do this?

hsluoyz commented 4 years ago

Sorry. I forgot that this has been fixed in: https://github.com/casbin/jcasbin/pull/32