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 :
- From the client application, redirect the user to the "provider" for authentication (HTTP 302)
- After successful authentication, redirect back the user from the "provider" to the client application (HTTP 302) and get the user credentials
- 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 :
- OAuth (1.0 & 2.0)
- CAS (1.0, 2.0, SAML, logout & proxy)
- HTTP (form & basic auth authentications)
- 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 version | based on pac4j version |
---|---|
4.0 | 1.4.0 |
Different versions of the pac4j project...
Configuration for the OAuth client support in CAS server version >= 4.0.0