SpringBoot: Integrating Shiro's INI Authentication Paper

Preface Last article SpringBoot: A Brief Introduction to Integrated Shiro In this article, we briefly describe the basic concepts of Shiro and Shiro's internal process. Next, I will briefly describe the basic content and usage scenarios of this blog. This blog mainly talks about integrating Shiro in SpringBoot 2.0, using IN ...

Posted by rage2021 on Wed, 08 May 2019 08:30:39 -0700

Shiro initializes authorization from the database

According to the previous understanding, this time privilege-based authorization is implemented by initializing authorization from the database. 1. Analyse Shiro filter chain <! - Some interception rules for shiro configuration must have the same id as the shiro interceptor name in web.xml - > <bean id="shiro ...

Posted by ticallian on Sat, 27 Apr 2019 02:00:35 -0700

shiro's Notes

Record problems with shiro at work. In fact, many problems are explained in official documents, but only limited to English reading ability. Only after solving the problem, can we find that it was explained. The shiro annotation @RequiresGuest, etc. is an intersection of permissions. Check order: RequiresRoles RequiresPermissions RequiresAu ...

Posted by Chevy on Fri, 01 Feb 2019 08:09:16 -0800

Build dubbo distributed platform-maven build ant-framework framework pom.xml file configuration

Today's focus is on the process of building an ant-framework trusted project. ant-framework is the basic core framework of ant distributed framework, including CRUD, MVC and a series of base classes and templates. In addition, spring, mybatis, wink and other low-level framework extension projects are defined, including: 1. annotation related ...

Posted by MARIOPARTY53 on Thu, 27 Dec 2018 11:45:06 -0800

Session, cookie and the difference between session and cookie in shiro

I'm playing spring boot integration shiro, but I find that its session s and cookie s make me a little confused... First of all, the difference between session and cookie is stated. In fact, session and cookie are the same thing. By the way, sessions operated in shiro in a web project, managed sessions are essentially sessions of web http, wit ...

Posted by ctjansen on Mon, 17 Dec 2018 20:36:04 -0800