Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Posts about Programing language

[Spring security] Concurrency Control - Logout automatically when delete or block user using spring security

May 02, 2021 11:06 0 Comment Programing language

Using spring security to develop future logout when user have been deleted or blocked, 1. Config sessison listener point to HttpSessionEventPublisher , that is class of spring security, 2. Define Session Registry bean, 3. Define Concurrency Filter bean, 4. Define Session Authentication Strategy bean, 5. Coding future deleted or block user, Table Of Content, 1. Config sessison listener point to HttpSessionEventPublisher, that is class of spring security, 2. Define Session Registry bean, 3

[MongoDB Spring Boot] How to Union all two collection a and b not relationship?

May 02, 2021 11:06 0 Comment Programing language

How to Union all two collection a and b not relationship?, I using MongoDB 4.2., Therefore, to solve this problem., MongoDB query, db.collectionA.aggregate([{, $group: {"_id": null, "first": { $push: "$$ROOT"}