# pac4j

Java security library for authentication and authorization in web frameworks, with OpenID Connect, SAML, CAS, OAuth and JWT.


Source: https://findsoftware.frbit.cloud/pac4j/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://www.pac4j.org/
- repository: https://github.com/pac4j/pac4j
- docs: https://www.pac4j.org/docs/index.html

### Identity

- status: active
- maintainer: Jérôme LELEU
- maintainerType: unknown
- parent: unknown
- firstRelease: 2013
- hqCountry: unknown

### Kind

- category: auth
- hosting: java
- language: java
- runtime: jvm
- runtimeMin: jvm 17
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: unknown
- renderingModes: not applicable
- installMethod: maven

### License

- licenseModel: open-source
- license: Apache-2.0

### Releases

- currentMajor: 6
- latestReleaseDate: 2026-11-04

### Adoption

- githubStargazers: 2539
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 187
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://www.pac4j.org/ (read 2026-11-16)
- urls: https://api.github.com/repos/pac4j/pac4j (read 2026-11-16)
- urls: https://github.com/pac4j/pac4j/blob/master/README.md (read 2026-11-16)
- maintainer: https://www.pac4j.org/ (read 2026-11-16)
- firstRelease: https://api.github.com/repos/pac4j/pac4j/commits/982c6b9d487966f0bfd3f5a3aaffc3dad40c5ee6 (read 2026-11-16)
- category: https://github.com/pac4j/pac4j/blob/master/README.md (read 2026-11-16)
- language: https://api.github.com/repos/pac4j/pac4j (read 2026-11-16)
- runtime: https://github.com/pac4j/pac4j/blob/master/README.md (read 2026-11-16)
- runtimeMin: https://www.pac4j.org/ (read 2026-11-16)
- license: https://github.com/pac4j/pac4j/blob/master/LICENSE (read 2026-11-16)
- licenseModel: https://github.com/pac4j/pac4j/blob/master/README.md (read 2026-11-16)
- installMethod: https://www.pac4j.org/how-to-secure-a-java-application-with-oidc.html (read 2026-11-16)
- currentMajor: https://repo1.maven.org/maven2/org/pac4j/pac4j-core/maven-metadata.xml (read 2026-11-16)
- latestReleaseDate: https://repo1.maven.org/maven2/org/pac4j/pac4j-core/maven-metadata.xml (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/pac4j/pac4j (read 2026-11-16)
- contributors: https://api.github.com/repos/pac4j/pac4j/contributors?per_page=1 (read 2026-11-16)

## Notes

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](https://www.pac4j.org/docs/index.html) 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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
