對外:SecurityContextPersistenceFilter,SecurityContextRegister(HttpSessionSecurityContextR...
對外:SecurityContextPersistenceFilter,SecurityContextRegister(HttpSessionSecurityContextR...
項目地址:https://jihulab.com/liangjinquan17/springcloud[https://jihulab.com/liangjinquan17/...
1. threadlocal簡單介紹 threadlocal:線程私有變量,用于存儲線程隔離的數(shù)據(jù),目前我們會用來存儲用戶登錄信息。 2. threadlocal常用函數(shù) t...
記錄修改次數(shù),當并發(fā)操作的時候發(fā)現(xiàn)modcount次數(shù)不一樣就報異常?!
ArrayList 源碼解析 add方法,擴容機制原理ArrayList在我們平時工作當中,已經(jīng)是熟悉不能在熟悉的一個集合類了,但是我們有思考過為什么要用ArrayList嗎?我們都知道ArrayList底層數(shù)據(jù)結(jié)構(gòu)是數(shù)組,那我...
1.基本用法有id集合,去除id為3的數(shù)值.如果是非stream用法代碼如下: 新的用法: 2.stream流程list-->stream-->中間操作(ReferenceP...
什么是 Spring Cloud Gateway Spring Cloud Gateway 作為 Spring Cloud 生態(tài)系統(tǒng)中的網(wǎng)關(guān),目標是替代 Netflix Zu...
項目地址:https://github.com/liangjinquan17/spring-security-demo[https://github.com/liangjin...
項目地址:https://github.com/liangjinquan17/spring-security-demo[https://github.com/liangjin...
項目地址:https://github.com/liangjinquan17/spring-security-demo[https://github.com/liangjin...
項目地址:https://github.com/liangjinquan17/spring-security-demo[https://github.com/liangjin...
1.搭建最最最基礎(chǔ)的spring security oauth2項目地址github:https://github.com/liangjinquan17/spring-sec...
一、什么是OAuth2協(xié)議? OAuth 2.0 是一個關(guān)于授權(quán)的開放的網(wǎng)絡(luò)協(xié)議,是目前最流行的授權(quán)機制。 數(shù)據(jù)的所有者告訴系統(tǒng),同意授權(quán)第三方應(yīng)用進入系統(tǒng),獲取這些數(shù)據(jù)。系...
前提 本文編寫的時候使用的Spring Cloud Gateway版本為當時最新的版本Greenwich.SR1。 我們在使用Spring Cloud Gateway的時候,...
腳本里面有# server ip (要發(fā)送jar到服務(wù)器啟動的服務(wù)器ip),這里設(shè)置自己的,然后必須免密登錄,免密登錄可以參考我的文章。
jenkins發(fā)布spring boot項目(附帶發(fā)布+備份腳本)1.安裝jenkins2.安裝插件3.配置jenkins maven項目發(fā)布流程4.發(fā)布測試 1.安裝,我們選擇用docker版的(選用jenkinsci/blueocean...
1.安裝jenkins2.安裝插件3.配置jenkins maven項目發(fā)布流程4.發(fā)布測試 1.安裝,我們選擇用docker版的(選用jenkinsci/blueocean...
前言 單元測試是軟件開發(fā)中必不可少的一環(huán),但是在平常開發(fā)中往往因為項目周期緊,工作量大而被選擇忽略,這樣往往導(dǎo)致軟件問題層出不窮。線上出現(xiàn)的不少問題其實在有單元測試的情況下就...