>> Protect your Java applications <<


Why do you absolutely need the pac4j library?

One Ring to rule them all...

One client library (pac4j) to rule all authentication mechanisms (OAuth, CAS, OpenID, HTTP, SAML, LDAP, SQL...)
Jérôme Leleu ;-)

What kind of authentication mechanisms is supported by pac4j ?

What authentication mechanisms are actually supported by pac4j ?

What projects/environments is pac4j implemented for ?

The "big picture"

pac4j details

Modulespac4j-core, pac4j-oauth, pac4j-cas, pac4j-openid, pac4j-http, pac4j-saml, pac4j-gae, pac4j-oidc, pac4j-jwt, pac4j-ldap, pac4j-sql, pac4j-mongo
Sourcehttps://github.com/pac4j/pac4j
Latest release1.7.0
Latest snapshot1.8.0-SNAPSHOT
Snapshots repositorySonatype snapshots repository
DocumentationJavadoc

J2E implementation based on pac4j

Modulej2e-pac4j
Sourcehttps://github.com/pac4j/j2e-pac4j
Demoj2e-pac4j-demo
Latest release1.1.1
Latest snapshot1.2.0-SNAPSHOT
Snapshots repositorySonatype snapshots repository
DocumentationJavadoc

CAS implementation based on pac4j

Modulecas-server-support-pac4j
Sourcehttps://github.com/Jasig/cas/tree/master/cas-server-support-pac4j
Democas-pac4j-oauth-demo
Latest release4.0.4
Latest snapshot4.1.0-RC2-SNAPSHOT
Snapshots repositorySonatype snapshots repository

Play implementation based on pac4j

Modulesplay-pac4j
Sourcehttps://github.com/pac4j/play-pac4j
Demoplay-pac4j-java-demo, play-pac4j-scala-demo
Latest release1.1.5 (Play 2.0/1) - 1.2.3 (Play 2.2)
1.4.0 (Play 2.3) - 1.5.0 (Play 2.4)
Latest snapshot1.1.6-SNAPSHOT (Play 2.0/1) - 1.2.4-SNAPSHOT (Play 2.2)
1.4.1-SNAPSHOT (Play 2.3) - 2.0.0-SNAPSHOT (Play 2.4)
Snapshots repositorySonatype snapshots repository
DocumentationJavadoc

Shiro implementation based on pac4j

Modulesbuji-pac4j-core, buji-pac4j-servlet
Sourcehttps://github.com/bujiio/buji-pac4j
Demobuji-pac4j-demo
Latest release1.3.1
Latest snapshot1.3.2-SNAPSHOT
Snapshots repositorySonatype snapshots repository
DocumentationJavadoc

Spring Security implementation based on pac4j

Modulespring-security-pac4j
Sourcehttps://github.com/pac4j/spring-security-pac4j
Demospring-security-pac4j-demo
Latest release1.2.5
Latest snapshot1.3.0-SNAPSHOT
Snapshots repositorySonatype snapshots repository
DocumentationJavadoc

Ratpack implementation based on pac4j

Moduleratpack-pac4j
Sourcehttps://github.com/ratpack/ratpack/tree/master/ratpack-pac4j
Demohttps://github.com/pac4j/ratpack-pac4j-demo
Latest release0.9.19
Latest snapshot0.9.20-SNAPSHOT
Development versionGithub source
DocumentationJavadoc

Vertx implementation based on pac4j

Modulevertx-pac4j
Sourcehttps://github.com/pac4j/vertx-pac4j
Demohttps://github.com/pac4j/vertx-pac4j-demo
Latest release1.1.0
Latest snapshot2.0.0-SNAPSHOT
Snapshots repositorySonatype snapshots repository
DocumentationJavadoc

Undertow implementation based on pac4j

Moduleundertow-pac4j
Sourcehttps://github.com/pac4j/undertow-pac4j
Demohttps://github.com/pac4j/undertow-pac4j-demo
Latest release1.0.0
Latest snapshot1.0.1-SNAPSHOT
Snapshots repositorySonatype snapshots repository
DocumentationJavadoc

Sparkjava implementation based on pac4j

Modulespark-pac4j
Sourcehttps://github.com/pac4j/spark-pac4j
Demohttps://github.com/pac4j/spark-pac4j-demo
Latest release1.0.3
Latest snapshot1.0.4-SNAPSHOT
Snapshots repositorySonatype snapshots repository
DocumentationJavadoc

Jooby implementation based on pac4j

Modulejooby-pac4j
Sourcehttps://github.com/jooby-project/jooby
Demohttps://github.com/pac4j/jooby-pac4j-demo
Latest release0.9.2
Latest snapshot0.10.0-SNAPSHOT
Development versionGithub source
DocumentationJavadoc