# Apache Shiro

> Java security framework for authentication, authorization, sessions and cryptography

Source: https://talira.ai/catalog/apache-shiro-16agj3cx
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Framework, Library
- Categories: [security / auth / libraries](https://talira.ai/categories/security/auth/libraries), [security / auth / authorization](https://talira.ai/categories/security/auth/authorization), [languages / java](https://talira.ai/categories/languages/java)
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Apache Software Foundation](https://talira.ai/orgs/apache-software-foundation.md)
- Funding: non-profit[^2]

Apache Shiro is an Apache Software Foundation Java security framework for authentication, authorization, cryptography and session management, with an API meant to be easy to understand. It logs users in against pluggable data sources (LDAP, JDBC, Active Directory), controls access by roles or fine-grained permissions, manages sessions in any environment (even outside web or EJB containers), and integrates with web applications and Jakarta EE.

## Links

- Website: https://shiro.apache.org/
- GitHub: https://github.com/apache/shiro
- Docs: https://shiro.apache.org/

## Problems it solves

- add login and role-based access control to a Java app
- manage user sessions in a Java app without a servlet container
- authenticate Java users against LDAP or Active Directory

## 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

## Trust

Overall: 0.70 out of 1.
Signals: maintenance 1.00, adoption 0.73, momentum 0.41, community 0.82, backing 0.55, extensibility 0.00.

- last commit 3 days ago
- 77 commits in the last 90 days
- latest release shiro-root-3.0.2 22 days ago
- 4.5k GitHub stars
- 113 contributors
- backed by Apache Software Foundation
- funding: non-profit

## Alternatives

- [Spring Security](https://talira.ai/catalog/spring-security-c761fpfq.md): Authentication and access control for Spring and Java applications
- [Sa-Token](https://talira.ai/catalog/sa-token-w64dnzcn.md): Lightweight Java authentication and authorization framework: login sessions, permissions and roles, SSO, OAuth 2.0 server, gateway and RPC auth, JWT and API signing.

## Sources

[^1]: https://github.com/apache/shiro/blob/main/LICENSE (checked 29 Nov 2026)
[^2]: https://www.apache.org/foundation/ (checked 20 Nov 2026)
