talira

Compare

Spring SecurityApache ShiroKeycloakSa-Token
What it isAuthentication and access control for Spring and Java applicationsJava security framework for authentication, authorization, sessions and cryptographyOpen source identity and access management for modern applications and servicesLightweight Java authentication and authorization framework: login sessions, permissions and roles, SSO, OAuth 2.0 server, gateway and RPC auth, JWT and API signing.
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.740.700.850.72
Stars967144673802619141
Last commit2026-11-242026-11-262026-11-242026-11-18
LicenceApache-2.0Apache-2.0Apache-2.0Apache-2.0
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostable——Yes—
Ways to run it————
SOC 2————
HIPAA————
SSO——Yes—
API——Yes—
Plugins——Yes—
MCP server——No—
CompanyBroadcom
public company (NASDAQ:AVGO)
Apache Software Foundation
non-profit
Cloud Native Computing Foundation
non-profit
Dromara
Features
  • Adds authentication (login) and authorization (access control) to Java and Spring applications
  • Protection against session fixation, clickjacking and cross-site request forgery (CSRF)
  • Servlet API integration
  • Optional integration with Spring Web MVC
  • Highly customizable for custom authentication and access rules
  • authentication against LDAP, JDBC, Active Directory and other realms
  • role and permission based authorization
  • session management outside web containers
  • cryptography API
  • web and Jakarta EE integration
  • SSO and single sign-out
  • OIDC, OAuth 2.0, SAML 2.0
  • identity brokering
  • LDAP/AD federation
  • admin and account consoles
  • authorization services
  • themes
  • login flows with optional self-registration, password recovery and email verification
  • All 9 features
  • login authentication with one static call, multi-device and mutually exclusive logins
  • permission and role checks by annotation or route interceptor
  • single sign-on in three modes, across domains and Redis setups
  • OAuth 2.0 server with OpenID mode
  • gateway and RPC authentication (Spring Cloud Gateway, ShenYu, Zuul, Dubbo, gRPC)
  • JWT integration, API keys and API parameter signing
  • Redis-backed sessions, account bans, impersonation and second-factor re-authentication
  • starters for Spring Boot 2, 3 and 4, WebFlux, Solon and JFinal