pac4j
Java security library for authentication and authorization in web frameworks, with OpenID Connect, SAML, CAS, OAuth and JWT.
pac4j is a Java security library that adds authentication and authorization to Java web applications. The README describes one API for OpenID Connect, SAML, CAS, OAuth, JWT and LDAP that works with any Java framework, with integrations for frameworks such as Spring Boot, Jakarta EE, Play and Vert.x. Apereo CAS, Apache Syncope and Apache Knox embed it. The documentation is on the project’s own site.
Worth knowing
According to the homepage, the Lagom and Akka HTTP integrations are archived and the Pippo integration is inactive.
Sources
- 2026-11-16: links, Maintainer, Minimum runtime
www.pac4j.org/ - 2026-11-16: links, Written in, GitHub stars
api.github.com/repos/pac4j/pac4j - 2026-11-16: links, Categories, Runtime, License model
github.com/pac4j/pac4j/blob/master/README.md - 2026-11-16: First release
api.github.com/repos/pac4j/pac4j/commits/982c6b9d487966f0bfd3f5a3aaffc3dad40c5ee6 - 2026-11-16: License
github.com/pac4j/pac4j/blob/master/LICENSE - 2026-11-16: Install with
www.pac4j.org/how-to-secure-a-java-application-with-oidc.html - 2026-11-16: Current major version, Last release
repo1.maven.org/maven2/org/pac4j/pac4j-core/maven-metadata.xml - 2026-11-16: Contributors
api.github.com/repos/pac4j/pac4j/contributors?per_page=1