# CodePlato3721/shiro-redis

shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!

Repository: https://github.com/CodePlato3721/shiro-redis
Canonical: https://ross.abutalabs.com/products/shiro-redis
Language: Java
License: MIT
License Family: permissive
Last push: 2026-05-13T08:18:15+00:00

## Health v2 (maintenance only)
Score: 60/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 82, release rhythm 8, longevity 100
- inputs: {"age_days": 4832, "days_push": 112, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1166, forks 439 (observed 2026-08-28T04:03:50.194559+00:00)

## What it is
A Java library that provides a Redis-based cache and session manager implementation for Apache Shiro, which otherwise only supports ehcache and ConcurrentHashMap. It lets Shiro-backed applications store sessions and authentication/authorization caches in Redis.

## Use cases
- store Apache Shiro sessions in Redis
- share Shiro session state across clustered application instances
- replace ehcache with Redis for Shiro's cache manager
- persist authentication and authorization caches in Redis
- enable distributed session management for Shiro-based Java web apps

## When to choose
- you use Apache Shiro and need Redis-backed sessions or caching
- you run multiple app instances and need shared session state
- you want session persistence that survives application restarts

## When to avoid
- you don't use Apache Shiro
- you prefer Spring Session or your framework's built-in Redis session support
- you want a single-node in-memory cache without Redis infrastructure

## Facets
- artifact type: library
- maturity: active
- function: caching, auth, security
- domain: security, web-development, backend, databases
- platform: jvm
- tags: apache-shiro, redis, session-management, cache-manager, java

## Member repositories
- CodePlato3721/shiro-redis (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:50.194559+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:28:57.960681+00:00, confidence not recorded.
  - readme: https://github.com/CodePlato3721/shiro-redis (fetched 2026-08-28T04:03:50.194559+00:00, sha ca7393bba4af)
- Data as of 2026-08-30T08:39:29.467469+00:00.
