Skip to content
Projetos

Sobre

Bridge from the pac4j security library to Shiro

Segurança e privacidade

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
-1
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

Maven Central Build status Java 17+ Apache Shiro 3.x Apache 2 license

buji-pac4j is 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:

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 Maven Central: 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.

Explore projetos relacionados

Carregando…