talira

Compare

Sa-TokenSpring SecurityApache Shiro
What it isLightweight Java authentication and authorization framework: login sessions, permissions and roles, SSO, OAuth 2.0 server, gateway and RPC auth, JWT and API signing.Authentication and access control for Spring and Java applicationsJava security framework for authentication, authorization, sessions and cryptography
KindOpen sourceOpen sourceOpen source
Trust0.720.740.70
Stars1914196714467
Last commit2026-11-182026-11-242026-11-26
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———
CompanyDromaraBroadcom
public company (NASDAQ:AVGO)
Apache Software Foundation
non-profit
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
  • 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