pac4j 0,0,-1,3,1,2,0

Security engine for Java (authentication, authorization, multi frameworks): OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...

pac4j is an easy and powerful security engine for Java to authenticate users, get their profiles and manage authorizations in order to secure web applications.

It provides a comprehensive set of concepts and components. It is based on Java 8 and available 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):

J2ESpring Web MVC (Spring Boot)Spring Security (Spring Boot)Apache Shiro

Play 2.xVertxSpark JavaRatpackUndertow

CAS serverJAX-RSDropwizardApache KnoxJooby

Authentication mechanims:

OAuth (Facebook, Twitter, Google...) - SAML - CAS - OpenID Connect - HTTP - OpenID - Google App Engine

LDAP - SQL - JWT - MongoDB - Stormpath - IP address

Authorization mechanisms:

Roles / permissions - Anonymous / remember-me / (fully) authenticated - Profile type, attribute

CORS - CSRF - Security headers - IP address, HTTP method


Versions

The version 1.9.3-SNAPSHOT is under development. Maven artifacts are built via Travis: Build Status and available in the Sonatype snapshots repository.

The source code can be cloned and locally built via Maven:

git clone [email protected]:pac4j/pac4j.git
cd pac4j
mvn clean install

The latest released version is the Maven Central, available in the Maven central repository. See the release notes.

Read the documentation for more information.

Need help?

If you have any question, please use the following mailing lists:

Related Repositories

buji-pac4j

buji-pac4j

pac4j security library for Shiro: OAuth, CAS, SAML, OpenID Connect, LDAP, JWT... ...

spring-security-pac4j

spring-security-pac4j

pac4j security library for Spring Security: OAuth, CAS, SAML, OpenID Connect, LD ...

play-pac4j-scala-demo

play-pac4j-scala-demo

Play Scala demo to test the play-pac4j security library ...

buji-pac4j-demo

buji-pac4j-demo

Shiro webapp to test the buji-pac4j security extension ...

spring-security-pac4j-demo

spring-security-pac4j-demo

Spring Security demo to test the spring-security-pac4j security library ...


Top Contributors

leleuj mmoayyed miremond benmccann papegaaij jotunskij patou imayka jkacer iliuta victornoel zawn MehdiAbbes sdorra indvd00m xargsgrep dbhankins JacobASeverson jameskleeh mirceac gschrader civanyp alexogar srini156 sbeitzel aratnam86 jayaramsankara jhegg millross ruochao

Releases

-   scribe-up-1.3.1 zip tar
-   scribe-up-1.3.0 zip tar
-   scribe-up-1.2.0 zip tar
-   scribe-up-1.2.0-RC1 zip tar
-   scribe-up-1.1.0 zip tar
-   scribe-up-1.0.0 zip tar
-   pac4j-1.9.2 zip tar
-   pac4j-1.9.1 zip tar
-   pac4j-1.9.0 zip tar
-   pac4j-1.8.9 zip tar
-   pac4j-1.8.8 zip tar
-   pac4j-1.8.7 zip tar
-   pac4j-1.8.6 zip tar
-   pac4j-1.8.5 zip tar
-   pac4j-1.8.4 zip tar
-   pac4j-1.8.3 zip tar
-   pac4j-1.8.2 zip tar
-   pac4j-1.8.1 zip tar
-   pac4j-1.8.0 zip tar
-   pac4j-1.8.0-RC1 zip tar
-   pac4j-1.7.2 zip tar
-   pac4j-1.7.1 zip tar
-   pac4j-1.7.0 zip tar
-   pac4j-1.6.0 zip tar
-   pac4j-1.6.0-RC1 zip tar
-   pac4j-1.5.1 zip tar
-   pac4j-1.5.0 zip tar
-   pac4j-1.4.1 zip tar
-   pac4j-1.4.0 zip tar