Using shiro framework in spring application about session parsing

First look at the UML of shiro filter Request scenario where there is already a cookie to save sessionId: 1. The first time a request passes through shiro's filter onceprequestfilter, it will wrap the request and response into ShiroHttpServletRequest and ShiroHttpServletResponse, and set an attribute ID in the request. The purpose is that whe ...

Posted by ditusade on Tue, 29 Mar 2022 16:10:47 +0300

Super detailed tutorial on MySQL 8.0.20 installation and configuration under Win10 system

Super detailed tutorial on MySQL 8.0.20 installation and configuration under Win10 system MySQL DownloadInstallation and configuration MySQL Download MySQL can be downloaded directly from the official website. Select the community version (free) to download. Link: https://dev.mysql.com/downloads/mysql/. Select Microsoft Windows in the selec ...

Posted by convinceme on Tue, 29 Mar 2022 12:20:17 +0300

day 05 DQL data query language --- connection query --- enter the room

Because sql statements are not case sensitive, all commands in this article use lowercase for convenience Previous contents day 01 first knowledge of Mysql and DDL data definition languageday 02 DML data operation languageday 03 DQL data query language -- a first glimpseday 04 DQL data query language - single table query - a slight succ ...

Posted by kampbell411 on Tue, 29 Mar 2022 07:33:25 +0300

springCloud cluster case building

springCloud is a popular microservice framework at present. It can easily and quickly build distributed projects. Now let's use idea to create a simple case of springCloud distributed cluster Open idea 1. Create a maven parent module Delete src directory pom. The XML is as follows <?xml version="1.0" encoding="UTF-8"?> <project ...

Posted by mega77 on Tue, 29 Mar 2022 04:27:25 +0300

Spring cloud fuse monitoring Hystrix Dashboard

preface SpringCloud is the leader in micro services and the best landing scheme. The Hystrix component in spring cloud can realize fusing, but in practice, it is generally necessary to visually see the invocation of various services, At this time, another component of spring cloud is used: Hystrix Dashboard. Hystrix Dashboard is a tool for ...

Posted by MikeyNoedel on Tue, 29 Mar 2022 04:04:24 +0300

SpringCloud Nacos Getting Started tutorial

1, Nacos overview Official address: https://nacos.io GitHub address: https://github.com/alibaba/nacos 1 what is Nacos Nacos is a new open source project launched by Alibaba. It is a dynamic service discovery, configuration management and service management platform that is easier to build cloud native applications. Nacos is committed to helpin ...

Posted by subcool on Tue, 29 Mar 2022 03:46:52 +0300

Spring cloud Nacos implements configuration center and registration center

SpringCloud+Nacos configuration center and registry application 1. Version Description Serial number name Version number 1 spring-boot 2.1.1.RELEASE 2 spring-cloud Greenwich.RELEASE 3 spring-cloud-alibaba 2.1.2.RELEASE Introducing pom ...... <parent> <groupId>org.springframework.boot</groupId> ...

Posted by duke on Tue, 29 Mar 2022 03:45:05 +0300

Database computer experiment 3 (cursor)

For database Experiments 1 and 2 and database creation, please Refer here What is a cursor? Cursor is a data buffer set up by the system for users to store the execution results of SQL statements. Each cursor area has a name. Users can use SQL statements to obtain records from the cursor one by one, assign them to the main variable, and submit ...

Posted by Reef on Tue, 29 Mar 2022 02:46:55 +0300

[C + + initial level: String class] string class | shallow copy and deep copy (traditional writing and modern writing) | Simulated Implementation of string class

[write before] Here we have to learn to read the documents by ourselves, because there are more than 100 interface functions for this string class, which we can't remember. We usually use about 20. Generally, we are familiar with them. If we really want to use them, we can check the documents. You can see that string is actually a sequence ...

Posted by synstealth on Tue, 29 Mar 2022 02:06:47 +0300

RabbitMQ-3.8.1 cluster configuration management

Article catalogue 1 Environmental preparation2. Configure rabbitmq single node mode3. Configure rabbitmq normal cluster4. Configure rabbitmq mirror cluster (ha)5 rabbitmq configuration file description 1 Environmental preparation Analysis of hosts of two hosts vim /etc/hosts 192.168.9.131 rabbitmq-9-131 192.168.9.132 rabbitmq-9-132 Get pa ...

Posted by angulion on Mon, 28 Mar 2022 05:55:48 +0300