talira

Compare

Apache ShiroSpring SecuritySa-Token
What it isJava security framework for authentication, authorization, sessions and cryptographyAuthentication and access control for Spring and Java applicationsLightweight 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 source
Trust0.700.740.72
Stars4467967119141
Last commit2026-11-262026-11-242026-11-18
LicenceApache-2.0Apache-2.0Apache-2.0
PricingFree and open sourceFree and open sourceFree and open source
Free tierYesYesYes
Self-hostable———
Ways to run it———
SOC 2———
HIPAA———
SSO———
API———
Plugins———
MCP server———
CompanyApache Software Foundation
non-profit
Broadcom
public company (NASDAQ:AVGO)
Dromara
Features
  • 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
  • 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
  • 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