對外:SecurityContextPersistenceFilter南吮,SecurityContextRegister(HttpSessionSecurityContextR...
![240](https://upload.jianshu.io/users/upload_avatars/17368853/3d725510-323c-4b7a-b167-d9ad812ab89a.jpeg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
對外: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ù)結構是數(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)關,目標是替代 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.搭建最最最基礎的spring security oauth2項目地址github:https://github.com/liangjinquan17/spring-sec...
一幢哨、什么是OAuth2協(xié)議赡勘? OAuth 2.0 是一個關于授權的開放的網(wǎng)絡協(xié)議,是目前最流行的授權機制捞镰。 數(shù)據(jù)的所有者告訴系統(tǒng)闸与,同意授權第三方應用進入系統(tǒng),獲取這些數(shù)據(jù)岸售。系...
前提 本文編寫的時候使用的Spring Cloud Gateway版本為當時最新的版本Greenwich.SR1践樱。 我們在使用Spring Cloud Gateway的時候,...
腳本里面有# server ip (要發(fā)送jar到服務器啟動的服務器ip)凸丸,這里設置自己的拷邢,然后必須免密登錄,免密登錄可以參考我的文章屎慢。
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ā)中往往因為項目周期緊环肘,工作量大而被選擇忽略,這樣往往導致軟件問題層出不窮集灌。線上出現(xiàn)的不少問題其實在有單元測試的情況下就...