Java Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github issue & PR templates May 25, 2017
documentation added Javalin as implem Aug 9, 2018
pac4j-cas [maven-release-plugin] prepare for next development iteration Aug 15, 2018
pac4j-config [maven-release-plugin] prepare for next development iteration Aug 15, 2018
pac4j-core [maven-release-plugin] prepare for next development iteration Aug 15, 2018
pac4j-couch [maven-release-plugin] prepare for next development iteration Aug 15, 2018
pac4j-gae [maven-release-plugin] prepare for next development iteration Aug 15, 2018
pac4j-http [maven-release-plugin] prepare for next development iteration Aug 15, 2018
pac4j-jwt [maven-release-plugin] prepare for next development iteration Aug 15, 2018
pac4j-kerberos [maven-release-plugin] prepare for next development iteration Aug 15, 2018
pac4j-ldap [maven-release-plugin] prepare for next development iteration Aug 15, 2018
pac4j-mongo [maven-release-plugin] prepare for next development iteration Aug 15, 2018
pac4j-oauth Fix typo in configuration setter for OAuth20Client. Aug 16, 2018
pac4j-oidc [maven-release-plugin] prepare for next development iteration Aug 15, 2018
pac4j-openid [maven-release-plugin] prepare for next development iteration Aug 15, 2018
pac4j-saml [maven-release-plugin] prepare for next development iteration Aug 15, 2018
pac4j-sql [maven-release-plugin] prepare for next development iteration Aug 15, 2018
travis no doc for TRAVIS_TAG Apr 3, 2018
.editorconfig Add .editorconfig file (#907) Apr 28, 2017
.gitignore Use latest maven quality plugin Oct 29, 2017
.travis.yml Disable sudo for Travis CI (#1169) Aug 14, 2018
CONTRIBUTING.md CONTRIBUTIN.md May 25, 2017
LICENSE Remove messed up formatting Mar 8, 2016
NOTICE remove header license Feb 24, 2016
README.md update to version 3.1.0-SNAPSHOT Jun 25, 2018
checkstyle.xml Integrate Checkstyle for style checks (Issue #955) (#966) Jul 30, 2017
findbugs-exclude.xml exclude DefaultCallbackLogicTests from findbugs Feb 19, 2018
pom.xml [maven-release-plugin] prepare for next development iteration Aug 15, 2018

README.md

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 JavaRatpackPippoUndertow

CAS serverJAX-RSDropwizardApache KnoxJooby

Authentication mechanisms:

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

LDAP - SQL - JWT - MongoDB - CouchDB - IP address - REST API

Authorization mechanisms:

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

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


Versions

The version 3.1.0-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 git@github.com: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.

Third-party extensions

There exist extensions to pac4j developed by third parties. The extensions provide features not available in the core pac4j distribution. At the moment, the following extension are known:

Need help?

If you need commercial support (premium support or new/specific features), contact us at info@pac4j.org.

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

Sponsored by

CAS in the cloud The CAS and pac4j consulting company