Awesome Open Source
Awesome Open Source

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 Java 11, Shiro 1.9 and on the pac4j security engine v5. It's available under the Apache 2 license.

It must be used with a pac4j security library:

  • certainly, the javaee-pac4j implementation (which has the same filters as buji-pac4j version <= 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 whole 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, available in the Maven central repository. The next version is under development.

See the release notes. Learn more by browsing the pac4j documentation and the buji-pac4j Javadoc.

See the migration guide as well.

Need help?

You can use the mailing lists or the commercial support.

Alternatives To Buji Pac4j
Select To Compare


Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Java (396,374
Security (31,924
Mongodb (30,488
Authentication (26,920
Sql (22,318
Twitter (21,411
Oauth (14,246
Login (14,111
Facebook (13,832
Jwt (9,979
Authorization (5,888
Ldap (3,629
Openid (1,953
Logout (1,730
Cas (1,604
Shiro (1,384
Saml (1,241
Openid Connect (689
Social Login (412