# zhangkaitao/shiro-example

跟我学Shiro（我的公众号：kaitao-1234567，我的新书：《亿级流量网站架构核心技术》）

Repository: https://github.com/zhangkaitao/shiro-example
Canonical: https://ross.abutalabs.com/products/shiro-example
Language: HTML
License Family: other
Topics: shiro
Last push: 2021-09-01T06:23: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": 4602, "days_push": 1827, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4769, forks 3836 (observed 2026-08-28T04:08:59.347230+00:00)

## What it is
A collection of example code accompanying the Chinese tutorial series 'Learn Shiro with Me' (跟我学Shiro), covering Apache Shiro authentication, authorization, session management, and integrations with Spring, Web, SSO, and OAuth2. It serves as a hands-on learning companion with chapter-by-chapter sample projects.

## Use cases
- learn apache shiro authentication and authorization
- shiro spring integration examples
- implement single sign-on with shiro
- shiro oauth2 integration example
- understand shiro session management and caching
- dynamic url permission control with shiro
- shiro rememberme and captcha examples

## When to choose
- learning Apache Shiro from scratch with runnable chapter examples
- looking for reference code for Shiro features like SSO, OAuth2, or distributed sessions
- following the accompanying Chinese blog tutorial series

## When to avoid
- you need a production-ready security framework rather than tutorial code
- you use Spring Security or another stack instead of Shiro
- you need actively maintained, up-to-date examples (last updated 2021, no license)

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: auth, authorization, security, developer-tools
- domain: security, tutorials, web-development
- platform: jvm
- tags: apache-shiro, tutorial, examples, authentication, spring-integration, sso, oauth2, java

## Member repositories
- zhangkaitao/shiro-example (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:59.347230+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-29T18:18:49.341599+00:00, confidence not recorded.
  - readme: https://github.com/zhangkaitao/shiro-example (fetched 2026-08-28T04:08:59.347230+00:00, sha a0136d90b7dd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
