Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

What is pac4j ?

pac4j is a github project : https://github.com/leleuj/pac4j.

It's a Profile & Authentication Client for Java. It targets all the protocols supporting the following mechanism :

  1. From the client application, redirect the user to the "provider" for authentication (HTTP 302)
  2. After successful authentication, redirect back the user from the "provider" to the client application (HTTP 302) and get the user credentials
  3. With these credentials, get the profile of the authenticated user (direct call from the client application to the "provider").

It has a very simple and unified API to support these 4 protocols on client side :

  1. OAuth (1.0 & 2.0)
  2. CAS (1.0, 2.0, SAML, logout & proxy)
  3. HTTP (form & basic auth authentications)
  4. OpenID.

It's available under the Apache 2 license.

 

What is cas-server-support-pac4j ?

cas-server-support-pac4j is a Maven module for the CAS server. It' based on the pac4j library and adds CAS/OpenID/OAuth client support to the CAS server.

It's first release is for CAS server 4.0 :

cas-server-support-pac4j module versionbased on pac4j version
4.01.4.0

Different versions of the pac4j project...

 

Configuration for the OAuth client support in CAS server version >= 4.0.0