Ross ROSS = Recommend OSS · open-source software intelligence for agents

apache/casbin-jcasbin

An authorization library that supports access control models like ACL, RBAC, ABAC in Java observed · 2026-08-28

github.com/apache/casbin-jcasbin · homepage · Java · Apache-2.0 (permissive) 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

Full methodology

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

Member repositories

RepositoryRoleHealth v2
apache/casbin-jcasbinmain88

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