An authorization library that supports access control models like ACL, RBAC, ABAC for Golang, Java, C/C++, Node.js, Javascript, PHP, Laravel, Python, .NET (C#), Delphi, Rust, Ruby, Swift (Objective-C), Lua (OpenResty), Dart (Flutter) and Elixir. In Casbin, an access control model is abstracted into a CONF file based on the PERM metamodel (Policy, Effect, Request, Matchers). So switching or upgrading the authorization mechanism for a project is just as simple as modifying a configuration. Besides memory and file, Casbin policy can be stored into lots of places. Currently, dozens of databases are supported, from MySQL, Postgres, Oracle to MongoDB, Redis, Cassandra, AWS S3. jCasbin is a powerful and efficient open-source access control library for Java projects. It provides support for enforcing authorization based on various access control models.

Features

  • jCasbin is a powerful and efficient open-source access control library for Java projects
  • It provides support for enforcing authorization based on various access control models
  • In jCasbin, an access control model is abstracted into a CONF file based on the PERM metamodel
  • Authentication (aka verify username and password when a user logs in)
  • Manage the role-user mappings and role-role mappings (aka role hierarchy in RBAC)
  • Handle the storage of the access control model and its policy

Project Samples

Project Activity

See All Activity >

Categories

Libraries, RBAC

License

Apache License V2.0

Follow jCasbin

jCasbin Web Site

Other Useful Business Software
Fully Managed MySQL, PostgreSQL, and SQL Server Icon
Fully Managed MySQL, PostgreSQL, and SQL Server

Automatic backups, patching, replication, and failover. Focus on your app, not your database.

Cloud SQL handles your database ops end to end, so you can focus on your app.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of jCasbin!

Additional Project Details

Programming Language

Java

Related Categories

Java Libraries, Java RBAC Tool

Registered

2023-08-10