# baichengzhou/SpringMVC-Mybatis-Shiro-redis-0.2

基于SpringMVC、Mybatis、Redis、Freemarker的Shiro管理Demo源码的升级版。

Repository: https://github.com/baichengzhou/SpringMVC-Mybatis-Shiro-redis-0.2
Canonical: https://ross.abutalabs.com/products/springmvc-mybatis-shiro-redis-02
Homepage: http://www.sojson.com/shiro
Language: Java
License Family: other
Last push: 2022-12-16T07:20:31+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3568, "days_push": 1356, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license, no_readme
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1778, forks 1104 (observed 2026-08-28T04:05:35.234563+00:00)

## What it is
An upgraded demo application showing Apache Shiro permission/role-based access control integrated with SpringMVC, Mybatis, Redis, and Freemarker in a Java web project. It serves as a reference implementation for learning how to wire Shiro authentication, authorization, and Redis-backed session/caching into a Spring MVC application.

## Use cases
- learn how to integrate Apache Shiro with SpringMVC and Mybatis
- implement role and permission based access control in a Java web app
- store Shiro sessions in Redis for clustered deployments
- bootstrap a SpringMVC + Mybatis + Freemarker project skeleton
- see a working Shiro login, authentication, and authorization demo
- study Redis caching configuration in a Spring application

## When to choose
- you want a concrete, runnable example of Shiro-based permission control in a classic SpringMVC stack
- you need a reference for Redis-backed Shiro session management
- you are maintaining or learning a legacy Java SSM (Spring + SpringMVC + Mybatis) project

## When to avoid
- you are starting a new project with Spring Boot or modern security libraries like Spring Security
- you need a production-ready, actively maintained framework rather than a demo
- you require a license-clear codebase for commercial use (no license is provided)
- your stack is not Java/Spring based

## Facets
- artifact type: application
- maturity: maintenance
- function: auth, authorization, caching, web-framework, orm, templating
- domain: web-development, security, developer-tools, backend
- platform: jvm, self-hosted
- tags: shiro, springmvc, mybatis, redis, freemarker, demo, role-based-access-control, session-management, java-web, learning-project, web-server

## Member repositories
- baichengzhou/SpringMVC-Mybatis-Shiro-redis-0.2 (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:35.234563+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-30T03:25:09.523115+00:00, confidence not recorded.
  - homepage: http://www.sojson.com/shiro (fetched 2026-08-29T11:03:28.217705+00:00, sha 837fde1612f4)
  - site_page: https://www.sojson.com/other/about.html (fetched 2026-08-29T11:03:28.224288+00:00, sha 4b21537167fa)
  - site_page: https://www.sojson.com/blog/242.html (fetched 2026-08-29T11:03:28.221693+00:00, sha e5036cae5d51)
- Data as of 2026-08-30T08:39:29.467469+00:00.
