SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Java Authorization Projects
-
Project mention: How to secure a Java client application with CAS (using Spring Boot) | dev.to | 2026-10-11
CAS can mean two things: the open source single sign-on server maintained by the Apereo foundation, or the Central Authentication Service protocol. Here, we'll use the CAS protocol to connect our Java application to a CAS server.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
pac4j
Security engine for Java (authentication, authorization, multi frameworks): OpenID Connect, SAML2, CAS, OAuth, LDAP, JWT...
Project mention: How to secure a JAX-RS client application with OIDC (using pac4j) | dev.to | 2026-10-01The jax-rs-pac4j library (like pac4j) supports both. It protects resources with pac4j clients through annotations, on Jersey or RESTEasy (JAX-RS is now called Jakarta REST).
-
akto
Akto is the fastest growing AI Security platform for your teams to secure AI agents, MCPs, LLMs, Agent skills, Gen AI apps in your organization.
-
athenz
Open source platform for X.509 certificate based service authentication and fine grained access control in dynamic infrastructures. Athenz supports provisioning and configuration (centralized authorization) use cases as well as serving/runtime (decentralized authorization) use cases.
Project mention: Open source platform for X.509 service authentication and fine grained access | news.ycombinator.com | 2026-07-08 -
OpenAM
OpenAM is an open-source access management solution for identity authentication, authorization, and federation. It provides single sign-on, adaptive authentication, and centralized policy control, enabling secure access to web, mobile, and cloud applications
Project mention: How to Protect Model Context Protocol (MCP) Servers with OpenAM and OpenIG | dev.to | 2025-12-02In this article, we will deploy a simple MCP server developed based on Spring AI and close it with the OpenIG authorization gateway. The OpenAM authentication service will be responsible for authentication.
-
product-is
Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
-
-
Project mention: How to secure a Shiro client application with CAS (using pac4j) | dev.to | 2026-10-07
This is the role of buji-pac4j. But there is a distinction to make: buji-pac4j is a bridge, not an authentication implementation. It transfers the pac4j profile to the Shiro subject, but it cannot start a CAS login on its own.
-
-
play-pac4j
Security library for Play framework 2/3 in Java and Scala: OpenID Connect, SAML2, CAS, OAuth, LDAP, JWT...
Project mention: How to secure a Play client application with SAML (using pac4j) | dev.to | 2026-10-02In a Play application, we want to protect actions while keeping the usual routes and controllers. The play-pac4j library lets us do that with a @Secure annotation, a CallbackController and a LogoutController.
-
Project mention: How to secure a Spring Security client application with OIDC (using pac4j) | dev.to | 2026-10-08
The spring-security-pac4j bridge does this. It transfers the pac4j profile into the Spring Security context; it does not perform authentication itself. Adding the bridge alone will not give you an OIDC login.
-
Project mention: How to secure a Spark Java client application with OpenID Connect (OIDC) using pac4j | dev.to | 2026-09-28
The spark-pac4j library gives us a SecurityFilter for these checks, a CallbackRoute for the return from the remote OIDC provider and a LogoutRoute to perform local and/or central logout. We can use them with OpenID Connect, whether your provider is Keycloak, Google, Microsoft Entra ID, Okta or another OIDC server.
-
spring-webmvc-pac4j
Security library for Spring Web MVC: OpenID Connect, SAML2, CAS, OAuth, LDAP, JWT...
Project mention: EUDI wallets with OpenID4VP in action (2/2): on another device | dev.to | 2026-11-03This is a plain Spring Boot web application, with spring-webmvc-pac4j as the pac4j implementation. Java 17 or later and Maven are enough.
-
Project mention: How to secure a Vert.x client application with CAS (using pac4j) | dev.to | 2026-09-29
Let's connect a Vert.x Web application to a CAS server. We'll use the vertx-pac4j library to add three handlers to our router: SecurityHandler, CallbackHandler and LogoutHandler.
-
OpenIG
OpenIG is an open-source identity gateway (reverse-proxy) that secures, routes, and manages web traffic. It enables authentication, access control, and integration with identity providers, delivering single sign-on and API security for web and cloud applications.
Project mention: How to Protect Model Context Protocol (MCP) Servers with OpenAM and OpenIG | dev.to | 2025-12-02In this article, we will deploy a simple MCP server developed based on Spring AI and close it with the OpenIG authorization gateway. The OpenAM authentication service will be responsible for authentication.
-
-
Project mention: How to secure a Shiro client application with CAS (using pac4j) | dev.to | 2026-10-07
jakartaee-pac4j, servlet filters that Shiro can map on URLs like its own filters, used in this guide
-
huawei-account-demo
Sample code for quickly integrate Huawei ID. HUAWEI Account Kit provides developers with simple, secure, and quick sign-in and authorization functions.
-
Project mention: How to secure a JAX-RS client application with OIDC (using pac4j) | dev.to | 2026-10-01
The jax-rs-pac4j library (like pac4j) supports both. It protects resources with pac4j clients through annotations, on Jersey or RESTEasy (JAX-RS is now called Jakarta REST).
-
-
Project mention: How to secure an Undertow client application with OIDC (using pac4j) | dev.to | 2026-09-30
You can connect an Undertow application to an OpenID Connect provider. You just need to use the undertow-pac4j library to add three handlers to your PathHandler: SecurityHandler, CallbackHandler and LogoutHandler.
-
Java Authorization discussion
Java Authorization related posts
-
How to secure a Java client application with CAS (using Spring Boot)
-
How to secure a Shiro client application with CAS (using pac4j)
-
How to secure a JAX-RS client application with OIDC (using pac4j)
-
How to secure a Vert.x client application with CAS (using pac4j)
-
How to secure a Spark Java client application with OpenID Connect (OIDC) using pac4j
-
Open source platform for X.509 service authentication and fine grained access
-
[Hands-on] Testing Separate Ports in Athenz ZTS
-
A note from our sponsor - SaaSHub
www.saashub.com | 14 Nov 2026
Index
What are some of the best open-source Authorization projects in Java? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | cas | 11,393 |
| 2 | jCasbin | 2,652 |
| 3 | pac4j | 2,538 |
| 4 | akto | 1,547 |
| 5 | athenz | 1,017 |
| 6 | OpenAM | 903 |
| 7 | product-is | 888 |
| 8 | sureness | 874 |
| 9 | buji-pac4j | 499 |
| 10 | keycloak-restrict-client-auth | 443 |
| 11 | play-pac4j | 414 |
| 12 | spring-security-pac4j | 279 |
| 13 | spark-pac4j | 163 |
| 14 | spring-webmvc-pac4j | 139 |
| 15 | vertx-pac4j | 135 |
| 16 | OpenIG | 93 |
| 17 | security | 66 |
| 18 | jee-pac4j | 59 |
| 19 | huawei-account-demo | 57 |
| 20 | jax-rs-pac4j | 56 |
| 21 | jwtenizr | 49 |
| 22 | undertow-pac4j | 43 |
| 23 | biscuit-java | 39 |