SpringBoot Shiro solves the problem that the custom Realm Autowired property in Shiro is empty

SpringBoot is used as the main framework, and Shiro framework is used as the authentication and authorization module.   Before spring boot + Shiro + password encryption, I stepped on a lot of holes, so I walked through the Shiro process and made a record.   1. Introduce Shiro first   Everyone who has used Shiro knows that Shiro uses decorator m ...

Posted by Ryan0r on Mon, 22 Nov 2021 23:27:42 -0800

Automated Deployment (gitlab, jenkins)

The server CentOS 7.5 64 bit Install FinalShell software Connect server gitlab deployment Reference website: https://www.cnblogs.com/LUA123/p/9675191.html First check the dependency: sshd [root@localhost soft]# rpm -qa|grep openssh-server openssh-server-7.4p1-11.el7.x86_64 [root@localhost soft]# ps -e|grep sshd 1107 ? 00:00:00 s ...

Posted by hasanpor on Mon, 22 Nov 2021 23:15:29 -0800

Super detailed how to configure VRRP tracking interface

  Configure the tracking interface and authentication of VRRP Principle overview:         When there is a problem with the uplink interface of the Master device of VRRP, and the Master device remains Active, the network will be interrupted. Therefore, the operation status of VRRP must be associated with the uplink ...

Posted by shu on Mon, 22 Nov 2021 23:09:40 -0800

FastAPI actual development of online course learning system -- password modification interface test

preface We shared it last time FastAPI (84) actual development of online course learning system -- personal information interface test , this time let's look at changing the password.text According to the previous requirements analysis, interface design and interface development, we need to test the password modification interface ...

Posted by kfresh on Mon, 22 Nov 2021 23:05:20 -0800

ES6 added API: Array

New prototype methodArray.prototype.copyWithinFunction type:/** * @author: forceddd * @desc: Shallow copy the elements in the array from the start position to the end position (excluding the elements at end), and overwrite the array from the target. Finally, the modified array is returned * @param {number} target Copy to the starting overwrite ...

Posted by matt1 on Mon, 22 Nov 2021 23:01:04 -0800

[language] tips for using Java date API

prefaceIn daily development, we often use some date related data operations, such as obtaining the week corresponding to the date, obtaining the existence of a month, etc.The date API design before Java 8 is very anti-human. For the time created with new Date(), the year is obtained by 1 starting from 1900, and the obtained month 0 represents J ...

Posted by Rother2005 on Mon, 22 Nov 2021 23:01:18 -0800

🏆 [Alibaba middleware technology series] RocketMQ technology topic let's explore the implementation principle and source code analysis of DefaultMQPushConsumer

Premise review of RocketMQ RocketMQ is a distributed, queue model message oriented middleware with the following characteristics: It can ensure strict message order Provide rich message pull mode Efficient subscriber level scalability Real time message subscription mechanism 100 million message accumulation capacity Why use Rock ...

Posted by dakey on Mon, 22 Nov 2021 22:55:52 -0800

How to realize the automatic receipt confirmation of Taobao in seven days?

At present, the common application software has the shadow of delayed message push, which is also widely used, such as:Taobao automatically confirms receipt within seven days. After we sign for the goods, the logistics system will delay sending a message to the payment system seven days later to inform the payment system to call the merchant. T ...

Posted by D_tunisia on Mon, 22 Nov 2021 22:33:58 -0800

[AVL balanced binary tree] JAVA code implementation

Realization idea AVL balanced binary tree adds the balancing function on the basis of binary search tree, that is, after inserting data according to the rules of balanced binary tree, it is still necessary to ensure that the depth difference between the left and right subtrees of any node does not exceed 1, so as to ensure the query effici ...

Posted by bugsuperstar37 on Mon, 22 Nov 2021 22:32:12 -0800

Configuration files required by spring

1, beans.xml <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> <bean id="Mysql ...

Posted by leequalls on Mon, 22 Nov 2021 22:29:45 -0800