shiro framework and spring integration in my java history

Any framework needs to use pom dependency first... Configure Shiro related information in shiro.xml configuration file Because securityManager needs realm package com.ssq.realm; import com.ssq.pojo.User; import com.ssq.service.RoleService; import com.ssq.service.UserService; import org.apache.shiro.au ...

Posted by Kuraden on Wed, 11 Mar 2020 10:05:20 +0100

[Spring Security + OAuth2 + JWT start to practice] 15. User registration after third-party QQ login

brief introduction In the previous article, QQ login is completed. Generally, if the current QQ login user is not registered in our database, he should skip to the registration binding page. If we do not configure the jump page, he will jump to / signup by default Source code analysis Enter social authentication filter private Authenti ...

Posted by v00d00 on Mon, 09 Mar 2020 10:07:29 +0100

Deep learning the fourth week -- the first lesson the realization of convolutional neural network

Article directory statement Preface 1, Convolutional neural network 1.1 import library 1.2 boundary filling 1.3 single step convolution 1.4 forward propagation of convolution layer 1.5 forward propagation of pool layer 1.6 back propagation of convolution layer 1.6.1 calculation of dA 1.6.2 calculat ...

Posted by MadDawgX on Sun, 08 Mar 2020 10:04:14 +0100

django advanced more: https://docs.djangoproject.com/en/3.0/

Model ORM (relationship object mapping) 1. field AutoField(Field) # int Auto increment column, parameter must be filled primary_key=True BigAutoField(AutoField) # bigint Auto increment column, parameter must be filled primary_key=True //If there is no auto increment column in the model, a column named id will b ...

Posted by Dakkar on Tue, 03 Mar 2020 08:46:59 +0100

EL&JSTL of Web core

primary coverage 1. JSP: 1. instruction 2. notes 3. Built in objects 2. MVC development mode 3. EL expression 4. JSTL label 5. Three tier architecture JSP: 1. instruction *Function: used to configure JSP pages and import resource files * format: <% @ instruction name property name 1 = pro ...

Posted by aaronlzw_21 on Wed, 26 Feb 2020 14:18:14 +0100

Huawei Network - firewall dual machine hot standby experiment (VGMP, HRP protocol)

Article directory Preface: 1, Huawei firewall dual hot standby overview 1.1 hot standby concept of firewall 1.2 hot standby features of firewall 1.2.1 priority of vgmp 1.3 Huawei firewall dual machine hot standby mode 1.4 state transition and working process of vgmp 1.5 working principle of vgmp (in ...

Posted by kausee on Wed, 26 Feb 2020 13:20:45 +0100

[Chapter 9 of Mybatis source code analysis] SqlSessionHolder function

origin In the process of using mybatispree, it is found that an error will be reported if an insert is executed and a batch insert is executed in a transaction Cannot change the ExecutorType when there is an existing transaction [the external link image transfer failed. The source station may have ant ...

Posted by brij_theinvader on Wed, 26 Feb 2020 05:28:18 +0100

logo development framework use

lego development framework use Introduction to lego development framework Import of lego lego framework directory structure description base service encapsulation core interface structure definition lib integrated function modules and components sys integrated system demo download address Introd ...

Posted by sunilmadhav on Mon, 24 Feb 2020 11:18:25 +0100

ZABBIX docking flybook realizes alarm notification with pictures

Flybook provides rich api to realize message notification, including text message, picture message and rich text message. This paper introduces the use of flybook api to send rich text message. The following is the implementation ideaAPI address: https://open.feishu.cn/document/ukTMukTMukTM/uITNz4iM1MjLyUzM Implementation ideas 1. Get the mon ...

Posted by Flames on Fri, 21 Feb 2020 15:33:55 +0100

Failure analysis | Crash caused by binlog flush failure

By xuty Open a pit to record the process of MySQL source code tracking and learning due to problem solving needs or interest research. 1, Problem phenomenon MySQL Crash occurs in a project. The related error log logs are as follows. From the logs, it can be seen that the problem is caused by binlog error, but the specific reason can not be c ...

Posted by mars_rahul on Fri, 21 Feb 2020 14:43:21 +0100