Spring Security automatically kicks off the previous logged-in user, a configuration is complete!

After successful login, automatically kick off the previous login user. Songge first saw this feature inside the button. It was fun at that time. Once you've done your own development, you've met the same requirements. Just as the recent Spring Security series is being serialized, you can use Spring Security to talk about how this function work ...

Added by bl00dshooter on Thu, 07 May 2020 04:01:23 +0300

How to quickly view the IP address and other information of the login user in Spring Security?

Last article I've talked about how to use a more elegant way to customize Spring Security login logic. A more elegant way can effectively avoid the inefficiency brought by custom filters. I suggest you read it and understand the authentication logic in Spring Security by the way. Based on the above, this paper will continue to discuss with you ...

Added by jimjack145 on Wed, 06 May 2020 11:21:22 +0300

Encapsulate the multi selection box control in react native

1. Installation of third party components GitHub: https://github.com/crazycodeboy/react-native-check-box Install under the command line of ReactNative project npm i react-native-check-box –save 2. Encapsulation of local control 2.1 import and constant definitions, which can be adjusted according to the proj ...

Added by r00tk1LL on Mon, 04 May 2020 11:16:46 +0300

From Vue cli to package Publishing

Structure and description of Vue cli initial directory ├── README.md ├├ -- build the code of compiling task │ ├── build.js │ ├── check-versions.js │ ├── dev-client.js │ ├── dev-server.js │ ├── utils.js │ ├── webpack.base.conf.js │ ├── webpack.dev.conf.js │ └── webpack.prod.conf.js ├ - configuration file of config webpack │ ...

Added by Gabriel_Haukness on Mon, 04 May 2020 06:37:28 +0300

49 Three.js use THREE.TextGeometry to create three-dimensional text to solve the problem of Chinese scrambling

Solution If only a pile of Chinese characters is found???? It is proved that the font currently imported does not support Chinese characters. Our solution is to introduce json files that can support Chinese characters. So the question is, how do we get this json file? -We can use ttf format file for conversion. There is an address for onli ...

Added by S A N T A on Mon, 04 May 2020 02:24:37 +0300

The process of integrating ActiveMQ with Spring Boot

Install the ActiveMQ server, (or not, if not, use memory mq) To build a Spring boot project and add dependencies, just add this one <!-- Add to acitivemq rely on --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-activemq</artifactId> </dependency> A ...

Added by dspeer on Sun, 03 May 2020 07:28:24 +0300

Understanding the differences between HashMap and LinkedHashMap

Understanding the differences between HashMap and LinkedHashMap brief introduction We know that the variable order of HashMap is unpredictable, which means that the convenient output order is not necessarily the same as the insertion order of HashMap.This feature is often confusing to our work.To do this, we can use LinkedHashMap. LinkedHashMap ...

Added by fubowl on Sun, 03 May 2020 05:49:24 +0300

computed -- real time calculation attribute

Project: https://github.com/ccyinghua/vue-node-mongodb-project/blob/master/07-shoppingCart.md The calculated function of real-time calculation attributes, real-time calculation attributes, is just the function writing method, and there is no need to declare in data. Some business logic codes can be placed in computed. Remember to return. exampl ...

Added by Blob on Sun, 03 May 2020 01:11:13 +0300

Custom sprinkled beans

First on the renderings The effect of sprinkling beans, a whim, thought the animation was very interesting, so I took the time to write a play Drawing process: Define 6 "beans". Each bean has its own attributes, size, throwing speed, etc. then control the direction and state of each bean. The rebound effect uses the differencing devi ...

Added by klaibert26 on Fri, 01 May 2020 20:33:28 +0300

Custom View - draw a moving Tai Chi diagram

Effect Taiji.gif Step breakdown Regular figures like Taiji are usually decomposed into basic figures by mathematical knowledge, such as line segment, circle, rectangle, sector, polygon, etc., and then drawn step by step. Decomposing Taiji diagram @Override protected void onDraw(Canvas canvas) { int width = getWidt ...

Added by sasikumar81 on Fri, 01 May 2020 02:44:01 +0300