{"id":21252617,"url":"https://github.com/jcasbin/casbin-spring-security-starter","last_synced_at":"2026-02-23T21:34:36.624Z","repository":{"id":96251170,"uuid":"537502217","full_name":"jcasbin/casbin-spring-security-starter","owner":"jcasbin","description":"Spring Security example for jCasbin","archived":false,"fork":false,"pushed_at":"2024-10-05T13:18:11.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T17:51:56.081Z","etag":null,"topics":["abac","acl","auth","authroization","authz","casbin","example","rbac","spring","spring-boot","spring-security","springboot","starter"],"latest_commit_sha":null,"homepage":"https://github.com/casbin/jcasbin","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jcasbin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-09-16T14:51:48.000Z","updated_at":"2024-10-05T13:16:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"f1a1d489-6352-40ab-a85f-8cb0b156f3e4","html_url":"https://github.com/jcasbin/casbin-spring-security-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcasbin%2Fcasbin-spring-security-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcasbin%2Fcasbin-spring-security-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcasbin%2Fcasbin-spring-security-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcasbin%2Fcasbin-spring-security-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcasbin","download_url":"https://codeload.github.com/jcasbin/casbin-spring-security-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248819363,"owners_count":21166474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["abac","acl","auth","authroization","authz","casbin","example","rbac","spring","spring-boot","spring-security","springboot","starter"],"created_at":"2024-11-21T03:48:07.429Z","updated_at":"2026-02-23T21:34:36.542Z","avatar_url":"https://github.com/jcasbin.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# casbin-spring-security-starter\n![License](https://img.shields.io/github/license/jcasbin/casbin-spring-security-starter)\n[![Maven Central](https://img.shields.io/maven-central/v/org.casbin/casbin-spring-security-starter.svg)](https://central.sonatype.com/artifact/org.casbin/casbin-spring-security-starter)\n\n## Installation\n\n``` xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eorg.casbin\u003c/groupId\u003e\n    \u003cartifactId\u003ecasbin-spring-security-starter\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## inform\n    To skip the tedious and complicated login process of Spring Security, \n    we're using its built-in login mode, which allows us to focus on the model authentication module.\n\n## DataBase \n    For the database, we're using mysql. \n    Remember to create a casbin database if you don't have one, and configure it in the application.yml file.\n\n## Simple Example\n    check file examples.rbac.policy.csv you can find out we are using rbac model\n    I registered with the identity of Alice who can read data1\n![img_1.png](img_1.png)\n\n    Than test the  result\n![img_2.png](img_2.png)\n\n![img_3.png](img_3.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcasbin%2Fcasbin-spring-security-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcasbin%2Fcasbin-spring-security-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcasbin%2Fcasbin-spring-security-starter/lists"}