Apache Shiro logo

Apache Shiro

Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management. It provides a clean API for securing applications from the smallest mobile applications to the largest enterprise systems.

1 APIs 1 Capabilities 7 Features
AuthenticationAuthorizationCryptographyJavaSecurityApacheOpen Source

APIs

Apache Shiro

Shiro provides a Java API for authentication (login/logout), authorization (access control), cryptography (hashing/encryption), and session management, with support for web appl...

Capabilities

Features

Authentication

Pluggable authentication with username/password, remember-me, and token support

Authorization

Role-based and permission-based access control with wildcard permissions

Session Management

Native session management independent of HTTP containers

Cryptography

Password hashing with salt, bcrypt, Argon2, and SHA-256

Multiple Realms

JDBC, LDAP, properties file, and custom realm support

Web Integration

Filter-based web application security with URL pattern matching

Annotations

AOP and annotation-based security for method-level authorization

Use Cases

Web Application Security

Secure Java web applications with authentication and URL-based access control

REST API Security

Protect REST APIs with token authentication and permission checks

Microservice Auth

Stateless JWT authentication for microservice architectures

Admin Portal Security

Role-based admin interface with fine-grained permissions

Integrations

Spring Framework

Shiro Spring integration for bean-level security

Jakarta EE

Java EE web filter integration for servlet containers

LDAP/Active Directory

LDAP realm for enterprise user directory authentication

JDBC

Database-backed realm for user and permission storage

Hazelcast

Distributed session management with Hazelcast

Semantic Vocabularies

Apache Shiro Context

12 classes · 26 properties

JSON-LD

API Governance Rules

Apache Shiro API Rules

6 rules · 4 errors 2 warnings

SPECTRAL

Resources

👥
GitHubOrganization
GitHubOrganization
🔗
Documentation
Documentation
🔗
SpectralRules
SpectralRules
🔗
Vocabulary
Vocabulary
🔗
NaftikoCapability
NaftikoCapability
🔗
JSON-LD
JSON-LD