apache/casbin-jcasbin
An authorization library that supports access control models like ACL, RBAC, ABAC in Java observed · 2026-08-28
Health v2 · maintenance only
88/100
- Activity 97
- Release rhythm 70
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 3
- age_days: 3281
- days_rel: 202
- days_push: 21
- n_releases_24m: 40
Adoption not part of the score
2652 stars · 491 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
jCasbin is an Apache-licensed Java authorization library that enforces access control using models such as ACL, RBAC, and ABAC defined in configuration files. Policies can be stored in files or databases via adapters, and it shares the same API and behavior as other Casbin language implementations.
Use cases
- enforce role-based access control in a Java application
- implement ACL permissions for API endpoints
- add ABAC attribute-based authorization to a Spring service
- store authorization policies in MySQL or PostgreSQL
- manage RBAC role hierarchies with domains
- switch authorization models without rewriting code
When to choose
- you need flexible, model-driven authorization in a JVM/Java project
- you want policies persisted in a database via adapters
- you need RBAC, ABAC, or ACL support with a consistent cross-language API
- you want authorization logic configurable via model files rather than hardcoded
When to avoid
- you need authentication or identity management - Casbin only handles authorization
- you want a full-featured turnkey admin UI for managing permissions
- you need a non-JVM language - use the Casbin implementation for your stack
Facets
library · maturity stable
authorization auth security middleware security backend developer-tools jvm cross-platform rbac abac acl access-control casbin policy-enforcement permissions
10 sources
- readme: https://github.com/apache/casbin-jcasbin · fetched 2026-08-28 · 4da7ff47a585
- homepage: https://casbin.org · fetched 2026-08-29 · bf9a21b944e9
- site_page: https://casbin.apache.org/docs/overview · fetched 2026-08-29 · e6df9330fc66
- site_page: https://casbin.apache.org/docs/downloads · fetched 2026-08-29 · 34577d2c2ff2
- site_page: https://casbin.apache.org/docs/get-started · fetched 2026-08-29 · 1cef184398ca
- site_page: https://casbin.apache.org/docs/category/access-control-models · fetched 2026-08-29 · 323b2c9c0a23
- site_page: https://casbin.apache.org/docs/category/storage · fetched 2026-08-29 · 36570671a14a
- site_page: https://casbin.apache.org/docs/adapters · fetched 2026-08-29 · cd140120068d
- site_page: https://casbin.apache.org/docs/category/api · fetched 2026-08-29 · 4099ba1bb75f
- site_page: https://casbin.apache.org/docs/ide-plugins · fetched 2026-08-29 · 5a9e92f4f45a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| apache/casbin-jcasbin | main | 88 |
For agents
markdown · JSON · MCP: product_card(name="apache/casbin-jcasbin")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem