bujiio/buji-pac4j
À propos
Pont entre la bibliothèque de sécurité pac4j et Shiro
Sécurité et confidentialitéProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Original
buji-pac4jis the Apache Shiro integration of pac4j, the security engine for Java. If it is useful to you, please ⭐ star pac4j on GitHub: it helps other developers discover it!
The buji-pac4j project is a bridge from pac4j to Shiro to push the pac4j security context into the Shiro security context.
It's based on the pac4j security engine v6. It's available under the Apache 2 license.
| buji-pac4j | JDK | pac4j | Shiro | Operating philosophy | Depends on | Usage of Lombok | Status |
|---|---|---|---|---|---|---|---|
| version >= 10 | 17 | v6 | v3.x | Bridge only | JakartaEE | Yes | Production ready |
| version >= 9.1 | 17 | v6 | v2.x | Bridge only | JavaEE | Yes | Production ready |
| version >= 9 | 17 | v6 | v1.11 | Bridge only | JavaEE | Yes | Production ready |
| version >= 8 | 11 | v5 | v1.9 | Bridge only | JavaEE | No | Production ready |
| version >= 6 | 11 | v5 | v1.8 | Standalone security library | JavaEE | No | Production ready |
| version >= 5 | 8 | v4 | v1.5 | Standalone security library | JavaEE | No | Production ready |
It must be used with a pac4j security library:
- Certainly, the javaee-pac4j or jakartaee-pac4j implementation (which has the same filters as
buji-pac4jversion <= 7.x) - Or maybe, if you use Spring MVC, the spring-webmvc-pac4j implementation.
While 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.
Usage
1) Add the required dependencies
2) The bridge is automatically installed
See the configuration that is loaded by default.
3) Install, configure and use the pac4j security library
You must refer to the documentation of the pac4j security library you use: javaee-pac4j (or maybe spring-webmvc-pac4j).
Demo
Shiro demo: buji-pac4j-demo.
Versions
The latest released version is the : v10.0.1 (Shiro 3) / v9.1.2 (Shiro 2).
The next versions (10.0.2-SNAPSHOT / 9.1.3-SNAPSHOT) are under development.
See the release notes.
See the migration guide as well.
Need help?
You can use the mailing lists or the commercial support.
Explorer des projets similaires
Chargement…