Why do we absolutely need the pac4j library ?

One Ring to rule them all...

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

What kind of protocol is supported by pac4j ?

What protocols are actually supported by pac4j ?

What projects/environments is pac4j implemented for ?

The "big picture"

pac4j details

Modulepac4j-core, pac4j-oauth, pac4j-cas, pac4j-openid, pac4j-http, pac4j-saml
Sourcehttps://github.com/leleuj/pac4j
Latest release1.5.0
Latest snapshot1.5.1-SNAPSHOT
Snapshots repositorySonatype snapshots repository
DocumentationJavadoc

J2E implementation based on pac4j

Modulej2e-pac4j
Sourcehttps://github.com/leleuj/j2e-pac4j
Demoj2e-pac4j-demo
Latest release1.0.2
Latest snapshot1.0.3-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.0-RC4
Latest snapshot4.0.0-RC5-SNAPSHOT
Snapshots repositorySonatype snapshots repository

Shiro implementation based on pac4j

Modulebuji-pac4j
Sourcehttps://github.com/bujiio/buji-pac4j
Demobuji-pac4j-demo
Latest release1.2.2
Latest snapshot1.2.3-SNAPSHOT
Snapshots repositorySonatype snapshots repository
DocumentationJavadoc

Play implementation based on pac4j

Modulesplay-pac4j_java
play-pac4j_scala2.9, play-pac4j_scala2.10 (v1.1.x / Play 2.0 & 2.1)
play_pac4j_scala (v1.2.x / Play 2.2)
Sourcehttps://github.com/leleuj/play-pac4j
Demoplay-pac4j-java-demo, play-pac4j-scala-demo
Latest release>1.1.2 (Play 2.0 & 2.1)
1.2.0 (Play 2.2)
Latest snapshot1.1.3-SNAPSHOT (Play 2.0 & 2.1)
1.2.1-SNAPSHOT (Play 2.2)
Snapshots repositorySonatype snapshots repository
DocumentationJavadoc

Spring Security implementation based on pac4j

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

Ratpack implementation based on pac4j

Moduleratpack-pac4j
Sourcehttps://github.com/ratpack/ratpack/tree/master/ratpack-pac4j
DemoComing soon...
Latest release0.9.3
Latest snapshot0.9.4
Development versionGithub source
DocumentationJavadoc