pac4j is a Profile & Authentication Client for Java (it's a global rebuilding of the scribe-up library). It targets all the authentication mechanisms supporting the following flow: 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