Tagged articles
shiro
25 articles · Page 1 of 1
This guide explains SpringBoot's default static resource locations, how to customize mappings for external file storage, configure access via application.yml, whitelist resources for Shiro or Spring Security, set browser caching, and implement a complete image upload and preview workflow.
CachingFile UploadSpring Security
0 likes · 7 min read

This article presents a comprehensive guide to designing and implementing fine‑grained permission control for microservices using Apache Shiro, covering the architectural design, shared session handling with Redis, custom cache and session managers, realm implementation, and practical testing across user and video services.
authorizationsession managementshiro
0 likes · 24 min read

This comprehensive guide walks you through Shiro's core concepts, authentication and authorization mechanisms, various realm implementations, session management, distributed session handling with Redis, caching strategies, and step‑by‑step integration of CAS single sign‑on using SpringBoot and pac4j, complete with code samples.
CASJavaRedis
0 likes · 34 min read

This article explains how to design microservice permission control using Apache Shiro, sharing session data via Redis, outlines failed approaches, presents a workable solution with custom cache and session managers, and provides complete code examples for realms, configuration, and login flow.
JavaRedisSpringBoot
0 likes · 24 min read

This article explains how to design and implement a microservice permission system using Apache Shiro, Spring Boot, Dubbo, and Redis, covering challenges of integrating Shiro with gateways, shared session management, custom Cache and SessionDAO implementations, and provides complete code examples and configuration details.
JavaRedisSpring Boot
0 likes · 26 min read

The article presents a detailed guide on designing and implementing fine-grained permission control for microservices using Apache Shiro, Spring Boot, Dubbo, and Redis to share session data across services, including code examples, configuration steps, and testing of role‑based access.
DubboRedisSpring Boot
0 likes · 21 min read

This article introduces a SpringBoot-based backend scaffold that integrates JWT for authentication, Apache Shiro for authorization, Mybatis‑Plus for data access, and includes custom annotations, bcrypt password encryption, AOP transaction management, and step‑by‑step deployment instructions, targeting developers seeking a ready‑to‑use microservice starter.
JWTSpringBootsecurity
0 likes · 8 min read

This article presents a complete tutorial on building a TCP‑based instant‑messaging system using Netty for the server, SpringBoot for the web admin console, JavaFX for the desktop client, Shiro for authentication, and MySQL for user data, covering architecture, protocol design, and full source code examples.
JavaFXNettySpringBoot
0 likes · 28 min read

This article compares Apache Shiro and Spring Security, outlining each framework's core features, execution workflow, and strengths, and provides guidance on selecting the appropriate solution based on project size, Spring adoption, and development timeline.
JavaSpring Securitysecurity framework
0 likes · 6 min read

This article compares Apache Shiro and Spring Security, outlining their core concepts, execution flows, key features, and practical guidance to help developers choose the most suitable Java security framework based on project requirements and team expertise.
AuthenticationJava securitySpring Security
0 likes · 5 min read

This guide walks through creating a SpringBoot multi‑module project integrated with MyBatis and Shiro, covering Maven module setup, dependency versions, bean scanning nuances, unit‑test annotations, custom Realm configuration, common pitfalls, and provides a demo repository for reference.
BackendJavaMaven
0 likes · 8 min read

This article compares Apache Shiro and Spring Security, outlining each framework's features, execution flow, and strengths, and provides guidance on when to choose Shiro for lightweight, framework-agnostic projects versus Spring Security for deeper Spring integration and broader community support.
AuthenticationJavaSpring Security
0 likes · 5 min read

This article introduces a SpringBoot-based backend demo that integrates MyBatis-Plus, Apache Shiro, and JWT, outlines its custom annotations and security features, explains the request flow, and provides step‑by‑step instructions for setting up the database, configuring the environment, and running the application.
BackendJWTJava
0 likes · 6 min read

This article introduces a SpringBoot-based backend project that integrates JWT for stateless authentication, Apache Shiro for flexible authorization, MyBatis-Plus for enhanced ORM, custom annotations for logging and validation, and demonstrates setup, deployment, and usage instructions.
JWTJavaMyBatis Plus
0 likes · 5 min read

This article demonstrates how to integrate the Apache Shiro security framework into a Spring Boot application, covering Maven dependencies, Shiro configuration, custom Realm implementation, login authentication, controller-level access control, and Thymeleaf front‑end button visibility based on roles and permissions.
JavaPermission ManagementSpring Boot
0 likes · 13 min read

This guide demonstrates how to integrate Apache Shiro into a Spring Boot application, covering project setup, Maven dependencies, configuration of Redis-backed session and cache management, creation of utility and realm classes, and implementation of role‑based permission controls with example controllers and Postman testing.
AuthenticationJavaRedis
0 likes · 22 min read

This guide demonstrates how to integrate the lightweight Apache Shiro security framework into a Spring Boot application, covering environment setup, Maven dependencies, Redis-backed session and cache configuration, utility classes, core Shiro components, annotation‑based permission control, and Postman testing for token handling and dynamic permission updates.
JavaRedisSpring Boot
0 likes · 21 min read

RuoYi Management System v4.3.1 introduces multiple functional enhancements and critical security patches, including fixes for Shiro remember‑Me command execution, SQL injection via PageHelper, Shiro permission‑bypass, and Fastjson deserialization vulnerabilities, along with code examples and configuration guidance.
JavaRuoYipatch
0 likes · 8 min read

This article introduces a SpringBoot-based scaffold project that integrates JWT authentication and Apache Shiro authorization, outlines its key features such as custom annotations, bcrypt password encryption, and AOP transaction handling, and provides step‑by‑step instructions for setup, configuration, and running the application.
BackendJWTJava
0 likes · 6 min read

This article explains Apache Shiro's security architecture, demonstrates how to create authentication tokens, configure realms, use caching and hashing for password protection, and integrate Shiro with Spring MVC through XML and Java code examples.
AuthenticationEhcacheJava
0 likes · 18 min read

This article introduces a SpringBoot-based backend project that integrates Mybatis-Plus, Apache Shiro, and JWT for secure API development, outlines custom annotations, transaction handling, and provides step‑by‑step instructions for building, configuring, and running the application.
JWTJavaMyBatis Plus
0 likes · 5 min read

This tutorial demonstrates how to enable shared HTTP sessions across multiple Spring Boot instances by integrating Apache Shiro with Redis via the CrazyCake plugin, configuring Maven dependencies, Redis and Shiro settings, building service and controller layers, and deploying the applications behind an Nginx load balancer for seamless session persistence.
JavaNGINXRedis
0 likes · 12 min read

This tutorial demonstrates how to integrate the lightweight Apache Shiro security framework into a Spring Boot 2.1.5 project, covering environment setup, Maven dependencies, Redis session storage, custom utilities, Shiro configuration, permission annotations, test controllers, and Postman verification.
AuthenticationJavaRedis
0 likes · 27 min read

This article explains how to build a front‑back end separated application using Spring Boot for the backend and Vue.js for the frontend, covering JSON APIs, CORS interception, Shiro security integration, custom session management, and two deployment strategies with code examples.
CORSVuedeployment
0 likes · 12 min read


21CTOApr 11, 2019 · Backend Development
This article introduces the open‑source renren‑security permission management solution, detailing its architecture, core modules, and how to implement authentication and authorization with Apache Shiro in a SpringBoot‑MyBatis stack, including code examples for login, role‑based access, XSS/SQL filtering, and deployment options.
JavaPermission ManagementSpringBoot
0 likes · 9 min read
