{"id":13694692,"url":"https://github.com/bujiio/buji-pac4j","last_synced_at":"2025-05-03T04:30:48.157Z","repository":{"id":3932651,"uuid":"5023198","full_name":"bujiio/buji-pac4j","owner":"bujiio","description":"Bridge from the pac4j security library to Shiro","archived":false,"fork":false,"pushed_at":"2025-04-21T08:31:34.000Z","size":526,"stargazers_count":489,"open_issues_count":0,"forks_count":126,"subscribers_count":38,"default_branch":"master","last_synced_at":"2025-04-21T09:32:21.072Z","etag":null,"topics":["authentication","authorization","cas","facebook","java","jwt","ldap","login","logout","mongodb","oauth","openid-connect","saml","security","shiro","social-login","sql","twitter"],"latest_commit_sha":null,"homepage":"http://www.pac4j.org","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"learn-co-students/devise_pundit_lab-v-000","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bujiio.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2012-07-13T18:18:17.000Z","updated_at":"2025-04-21T08:31:36.000Z","dependencies_parsed_at":"2023-11-06T08:30:03.859Z","dependency_job_id":"a244bd97-ff93-43ab-8ce2-cce0aee801b4","html_url":"https://github.com/bujiio/buji-pac4j","commit_stats":{"total_commits":436,"total_committers":21,"mean_commits":"20.761904761904763","dds":0.481651376146789,"last_synced_commit":"d17791e8f63efbc18daff781c3a946fcd6c26cd4"},"previous_names":["bujiio/buji-oauth"],"tags_count":41,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bujiio%2Fbuji-pac4j","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bujiio%2Fbuji-pac4j/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bujiio%2Fbuji-pac4j/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bujiio%2Fbuji-pac4j/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bujiio","download_url":"https://codeload.github.com/bujiio/buji-pac4j/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252144417,"owners_count":21701408,"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":["authentication","authorization","cas","facebook","java","jwt","ldap","login","logout","mongodb","oauth","openid-connect","saml","security","shiro","social-login","sql","twitter"],"created_at":"2024-08-02T17:01:37.559Z","updated_at":"2025-05-03T04:30:48.151Z","avatar_url":"https://github.com/bujiio.png","language":"Java","funding_links":[],"categories":["Java"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://pac4j.github.io/pac4j/img/logo-shiro.png\" width=\"300\" /\u003e\n\u003c/p\u003e\n\nThe `buji-pac4j` project is a **bridge from pac4j to Shiro** to push the pac4j security context into the Shiro security context.  \nIt's based on the **[pac4j security engine](https://github.com/pac4j/pac4j)**. It's available under the Apache 2 license.\n\n| buji-pac4j     | JDK | pac4j | Shiro  | Operating philosophy        | Usage of Lombok | Status           |\n|----------------|-----|-------|--------|-----------------------------|-----------------|------------------|\n| version \u003e= 9.1 | 17  | v6    | v2.0.2 | Bridge only                 | Yes             | Production ready |\n| version \u003e= 9   | 17  | v6    | v1.11  | Bridge only                 | Yes             | Production ready |\n| version \u003e= 8   | 11  | v5    | v1.9   | Bridge only                 | No              | Production ready |\n| version \u003e= 6   | 11  | v5    | v1.8   | Standalone security library | No              | Production ready |\n| version \u003e= 5   | 8   | v4    | v1.5   | Standalone security library | No              | Production ready |\n\n**It must be used with a [pac4j security library](https://www.pac4j.org/implementations.html)**:\n- certainly, the [javaee-pac4j](https://github.com/pac4j/jee-pac4j) implementation (which has the same filters as `buji-pac4j` version \u003c= 7.x)\n- or maybe, if you use Spring MVC, the [spring-webmvc-pac4j](https://github.com/pac4j/spring-webmvc-pac4j) implementation.\n\nWhile **it is always better to directly use a pac4j security library alone**, this bridge can be used to keep legacy software and avoid full migration.\n\n\n## Usage\n\n### 1) [Add the required dependencies](https://github.com/bujiio/buji-pac4j/wiki/Dependencies)\n\n### 2) The bridge is automatically installed\n\nSee the [configuration](https://github.com/bujiio/buji-pac4j/blob/master/src/main/resources/buji-pac4j-default.ini) that is loaded by default.\n\n### 3) Install, configure and use the pac4j security library\n\nYou must refer to the documentation of the pac4j security library you use: [javaee-pac4j](https://github.com/pac4j/jee-pac4j) (or maybe [spring-webmvc-pac4j](https://github.com/pac4j/spring-webmvc-pac4j)).\n\n\n## Demo\n\nShiro demo: [buji-pac4j-demo](https://github.com/pac4j/buji-pac4j-demo).\n\n\n## Versions\n\nThe latest released version is the [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.buji/buji-pac4j/badge.svg?style=flat)](https://maven-badges.herokuapp.com/maven-central/io.buji/buji-pac4j), available in the [Maven central repository](https://repo.maven.apache.org/maven2).\nThe [next version](https://github.com/bujiio/buji-pac4j/wiki/Next-version) is under development.\n\nSee the [release notes](https://github.com/bujiio/buji-pac4j/wiki/Release-Notes). Learn more by browsing the [pac4j documentation](https://www.javadoc.io/doc/org.pac4j/pac4j-core/6.0.1/index.html) and the [buji-pac4j Javadoc](http://www.javadoc.io/doc/io.buji/buji-pac4j/9.0.0).\n\nSee the [migration guide](https://github.com/bujiio/buji-pac4j/wiki/Migration-guide) as well.\n\n\n## Need help?\n\nYou can use the [mailing lists](https://www.pac4j.org/mailing-lists.html) or the [commercial support](https://www.pac4j.org/commercial-support.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbujiio%2Fbuji-pac4j","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbujiio%2Fbuji-pac4j","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbujiio%2Fbuji-pac4j/lists"}