Spring Security Series Tutorial 10--Authorization based on a custom database model
Preface
In the last chapter, one brotherExplains how to implement authentication authorization based on the default database model, in which the user's information is stored in the database, but there are many limitations! Because we have to build the database and build tables according to the source code, there is a lack of flexibility. When ...
Posted by flforlife on Fri, 17 Sep 2021 06:47:52 -0700
Learning log day50 (September 16, 2021) (1. Spring JDBC 2. Mysql transaction 3. Mysql trigger)
Learning content: learn the Spring framework (Day50)
1,Spring JDBC 2. Mysql transaction 3. Mysql trigger
1,Spring JDBC
(1) The required jar package is used for database connection using Hikaricp connection pool mysql-connector-java.jar HikariCP.jar spring-jdbc.jar
(2) Configure the data source file db.properties, and set the time zone for ...
Posted by holladb on Thu, 16 Sep 2021 18:32:01 -0700
Spring security < five > authentication -- account / email / mobile phone number + password
Spring security < < V > authentication – account / email / mobile number + password
Basic environment of local project
environmenteditionjdk1.8.0_201maven3.6.0Spring-boot2.3.3.RELEASE
1. Introduction
spring security is a framework providing authentication, authorization and preventing common attacks. It has first-class sup ...
Posted by jlive on Thu, 16 Sep 2021 15:58:05 -0700
spring declarative transaction management
spring implements transaction management
Transaction is an important part of enterprise application oriented to relational database (RDBMS), which is used to ensure the integrity and consistency of data.
ACID attribute of the transaction
Atomicity: a transaction is an inseparable unit of work, and the actions included in the transaction are ...
Posted by Naez on Thu, 16 Sep 2021 11:51:19 -0700
Summary of AOP and jdbc in Spring
catalogue
1, Foreword
2, Several concepts in AOP
3, Five types of notifications are implemented in three ways
1. Annotation implementation
2. Declaring a Pointcut simplifies the above code
3. By configuration
4, Spring integrates jdbc
1. Configure maven repository (pom.xml)
2. Add database profile
3. Introduction of data ...
Posted by AQHost on Wed, 15 Sep 2021 18:08:33 -0700
Shiro--SpringBoot--jwt -- use / usage / instance / example
Original website:
Other web sites
Shiro instance series
Shiro -- instance -- springboot_ CSDN blogShiro -- instance -- springboot -- Shiro redis_ CSDN blogShiro -- instance -- springboot -- JWT_ CSDN blog (this article)
Reference website
shiro+jwt+springboot integration_ q89757316 blog - CSDN blogSuper detailed! 4 hours to develop ...
Posted by eshban on Wed, 15 Sep 2021 15:04:28 -0700
Preliminary study on operation principle
Preliminary study on principle
pom.xml
Parent dependency
It mainly depends on a parent project, which mainly manages the resource filtering and plug-ins of the project!
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.5.RELE ...
Posted by adwfun on Tue, 14 Sep 2021 14:15:44 -0700
Spring Boot data access
Spring Boot data access
Spring Boot data access overview
Spring Data is an open source framework provided by spring to simplify database access and support cloud services. It is an umbrella project, which contains a large number of data access solutions for relational and non relational databases. Its design purpose is to enable us to use var ...
Posted by Jassal on Mon, 13 Sep 2021 18:25:27 -0700
Spring configuration file loading process
The Spring configuration file is loaded mainly in the loadBeanDefinitoin method This method is very complex. The purpose of this blog is to explain this method in detail
this.loadBeanDefinitions(beanFactory);
Click in
protected void loadBeanDefinitions(DefaultListableBeanFactory beanFactory) throws BeansException, IOException {
Xm ...
Posted by bimbo on Sun, 12 Sep 2021 20:40:20 -0700
Set up Spring source environment and debug and run
Preface
The purpose of this article is to document the problems and solutions encountered in setting up the Spring source environment for reference.
1. Required Resources
IDEA 2019.1
JDK 1.8
spring-5.2.8.RELEASE
gradle-5.6.4
2. Resource Download and Version Description
2.1 spring Source Download
Method 1: Use git clone to go local ...
Posted by tomtimms on Sun, 12 Sep 2021 19:30:42 -0700