Compare
| Spring Security | Apache Shiro | Keycloak | Sa-Token | |
|---|---|---|---|---|
| What it is | Authentication and access control for Spring and Java applications | Java security framework for authentication, authorization, sessions and cryptography | Open source identity and access management for modern applications and services | Lightweight Java authentication and authorization framework: login sessions, permissions and roles, SSO, OAuth 2.0 server, gateway and RPC auth, JWT and API signing. |
| Kind | Open source | Open source | Open source | Open source |
| Trust | 0.74 | 0.70 | 0.85 | 0.72 |
| Stars | 9671 | 4467 | 38026 | 19141 |
| Last commit | 2026-11-24 | 2026-11-26 | 2026-11-24 | 2026-11-18 |
| Licence | Apache-2.0 | Apache-2.0 | Apache-2.0 | Apache-2.0 |
| Pricing | Free and open source | Free and open source | Free and open source | Free and open source |
| Free tier | Yes | Yes | Yes | Yes |
| Self-hostable | — | — | Yes | — |
| Ways to run it | — | — | — | — |
| SOC 2 | — | — | — | — |
| HIPAA | — | — | — | — |
| SSO | — | — | Yes | — |
| API | — | — | Yes | — |
| Plugins | — | — | Yes | — |
| MCP server | — | — | No | — |
| Company | Broadcom public company (NASDAQ:AVGO) | Apache Software Foundation non-profit | Cloud Native Computing Foundation non-profit | Dromara |
| Features |
|
|
|
|