The eighth day of health management project (background login to realize authentication and authorization, graphic report echards)

We have learned how to use the Spring Security framework. In this chapter, we need to apply the Spring Security framework to the background system for permission control. Its essence is authentication and authorization. To carry out authentication and authorization, we need to support the seven tables i ...

Posted by leonglass on Mon, 29 Jun 2020 00:12:28 -0700

Why is enumeration recommended?

Enumeration is a new data type in JDK 1.5. With enumeration, we can well describe some specific business scenarios, such as spring, summer, autumn and winter in a year, Monday to Sunday in a week, and various colors, as well as some state information, such as error codes. Enumeration type not only exists in Java language, but also can be found ...

Posted by pinxxx on Sat, 27 Jun 2020 23:12:24 -0700

Chapter 1 JavaScript foundation [cloud smart link]

Chapter 1 JavaScript Basics 1. What is JavaScript? HTML+CSS completes the static page display, but to complete better and more complex user interaction and data interaction and display, you need to use JavaScript. JavaScript is an object-based and event driven scripting language with security performance 2. Features of JavaScript a. You can add ...

Posted by glitch003 on Sat, 27 Jun 2020 22:26:06 -0700

SpringBoot take off - integrate spring security (Mybatis, JDBC, memory)

Interested friends can go to understand the first five articles, your praise is my greatest support, thank you! (1) SpringBoot take off - HelloWorld (2) The way to take off of SpringBoot: an analysis of the entry principle (3) SpringBoot take off road - YAML configuration summary (must know before gett ...

Posted by tsinka on Sat, 27 Jun 2020 21:54:52 -0700

How Dubbo's XML is used and how it integrates with Spring

catalog How Dubbo's XML is used and how it integrates with Spring ServiceClassPostProcessor Implemented BeanDefinitionRegistryPostProcessor class How the bean instance of ServiceClassPostProcessor is injected into the container in advance. The definition of DubboNamespaceHandler, the parsing class ...

Posted by Kower on Sat, 27 Jun 2020 21:27:35 -0700

Spring Science - SMS verification code login function

Spring Science (5) -- SMS verification code login function Previous articles on spring Science Series 1,Spring security (1) -- authentication + authorization code implementation 2,Spring security (2) --- remember my feature implementation 3,Spring Science (3) -- function implementation of graphic verification code 4,Spring Science (4) -- ...

Posted by marky2coats on Sat, 27 Jun 2020 20:17:11 -0700

Spring Security's remomberme automatic login

Automatic login is a mechanism that saves the user's login information in the cookie of the user's browser. When the user visits next time, it automatically realizes the verification and establishes the login state. Spring Security provides two very good types of Tokens: Hash algorithm encrypts user's necessary login information and generates ...

Posted by exec1 on Sat, 27 Jun 2020 01:18:49 -0700

[spring cloud learning note 8] use and precautions of spring cloud stream

Use of spring cloud stream 1, Introduction to SpringCloud Stream In the actual development, there are various kinds of message processing middleware (MQ), but if you learn all MQ, the learning cost is too high, and the emergence of spring cloud stream can ignore the difference of message middleware ...

Posted by Ziq on Fri, 26 Jun 2020 22:24:45 -0700

This time, understand the core principles of spring boot (automatic configuration, event driven, Condition)

@ catalog preface text Starting principle event driven Auto configuration principle Condition annotation principle summary preface Spring boot is the packaging of spring. Through automatic configuration, spring boot can be used out of the box with very low starting cost. However, the cost of learning its implementation principle is grea ...

Posted by mvidberg on Thu, 25 Jun 2020 23:47:45 -0700

Spring boot + websocket to realize real-time chat

Spring boot + websocket for real-time chat Recently, a little time, the last project just used websocket to realize broadcasting messages. Now, I want to sort out some previous codes and share them with you. WebSocket protocol is a new network protocol based on TCP. It realizes full duplex communication between browser and server, which ...

Posted by mady on Thu, 25 Jun 2020 23:14:13 -0700