spring cloud microservice architecture b2b2c e-commerce - common service project construction process

We will analyze the whole project of common service, record the whole construction process, and let more people to learn. First, before building the common service of spring cloud, we need to prepare the following technologies: Maven (project construction), Spring Boot, Spring Cloud, microservice concept, decentralization idea, distribution, et ...

Posted on Wed, 06 Nov 2019 09:59:46 -0500 by dirty_n4ppy

Static resource access failure in SpringBoot2.X

Today, I started to use spring boot to write projects, so I first made it able to access static resources, but I couldn't access my helloWorld page even after configuration for half a day. It turns out that in spring boot 2. X, the static resource path doesn't work. Classpath: meta / resources /, classpath: Resources /, classpath: static /, cl ...

Posted on Sun, 03 Nov 2019 12:06:12 -0500 by fabrice

Introduction and certification of Apache Shiro framework of personal notes

Shiro framework: for system authentication and authorization Official website: shiro.apache.orgFour core functions: Authentication: a function used to identify the user's province, such as the login function (let the system know who you are) Authorization: the system grants permissions for which functions can be acc ...

Posted on Sat, 02 Nov 2019 19:13:12 -0400 by seikan

Lecture 5 hash algorithm (encryption algorithm)

1. Encryption is often involved in the process of identity authentication. Data information is not secure if it is not encrypted. Shiro content implements more hash algorithms. Such as MD5, SHA, etc. And salt adding function is provided. For example, the MD5 code of "1111" is "b59c67bf196a4758191e42f76670ceba". This MD5 code ...

Posted on Fri, 01 Nov 2019 17:29:40 -0400 by anikin

The strategic mode of design mode

Strategy mode Let me give you an example of a calculator I will create a calculation interface that implements addition and subtraction. Then I will create a calculator class (set calculation method and return value). Finally, I will create a test class test Computing interface public interface Operation { public int doOperation(int number1 ...

Posted on Fri, 01 Nov 2019 13:46:50 -0400 by insrtsnhere13

Easy to use treasure project record Day5 Shiro

Easy to use treasure project record Day5 Shiro 1.shiro's understanding shiro is a permission framework ​ The difference between shiro and Spring security shiro is easier to use and belongs to coarse-grained Spring security is more complex and difficult to learn, but it's better to have fine- ...

Posted on Tue, 29 Oct 2019 11:47:51 -0400 by BrandonK

Shiro series - how Shiro implements authentication

Introducer                         First, let's introduce Shiro's identity authentication. Article directory Shiro authentication Introduction example Environmental preparation Login ...

Posted on Mon, 28 Oct 2019 01:47:08 -0400 by AIS4U

Getting started with Spring Boot (17) -- integration of Spring Boot and Shiro

This article will not introduce Shiro's principle, but will directly explain how Spring Boot integrates with Shiro. If you don't know Shiro, you can read my previous article: Shiro on the realization of authentication and authorization functions 1 introduce dependency <dependency> ...

Posted on Sun, 27 Oct 2019 03:02:05 -0400 by The-Last-Escape

Jboot series: use of code generation tool generator

Jboot is an open source framework based on JFinal. On the basis of JFinal, the concept of microservice has been added. It is known as "another alternative to spring cloud, which has been used in commercial products with a user volume of over 100 million. More than 1000 companies are using jboot for rapid development", integrating popu ...

Posted on Mon, 21 Oct 2019 10:39:59 -0400 by pugisback

Oracle query result set cannot be serialized by redis cache

discover problems The project is SSM framework, Redis caches, the database is Oracle 11.2.0.4.0, there are two list queries in the project, one is normal, the other is query error, the log is as follows: org.springframework.data.redis.serializer.SerializationException: Cannot serialize; nested exception is org.springframework.core.serializer.su ...

Posted on Tue, 01 Oct 2019 07:34:45 -0400 by UnitedWeFall