pac4j is an easy and powerful security framework for Java to authenticate users, get their profiles and manage authorizations in order to secure web applications and web services.
It provides a comprehensive set of concepts and components. It is based on JDK 17 (v6.x), JDK 11 (v5.x) or JDK 8 (v4.x) and licensed under the Apache 2 license. It is available for most frameworks/tools and supports most authentication/authorization mechanisms.
Available implementations (Get started by clicking on your framework):
The latest released version is the , available in the Maven central repository. The next version is under development.
Read the documentation for more information.