Get started with Java application security

pac4j is a Java security framework that provides authentication and authorization for web applications and web services. Secure your application with OpenID Connect (OIDC), CAS, SAML and other authentication mechanisms. Start with one of these Spring Boot examples:

Choose an integration for your application. The guides below use OIDC, SAML or CAS to explain the framework-specific setup, including bridges for applications that already use Spring Security or Shiro:

The grand tour

For a more complete introduction to pac4j’s concepts and security model, follow the Grand tour below.