JDK1. 8 source code analysis of concurrenthashmap
JDK1. 8 source code analysis of concurrenthashmap
jdk1.8 container initialization
Source code analysis
There are five construction methods in the ConcurrentHashMap of jdk8. None of the four construction methods initialize the internal array, but deal with the initial values of some variablesThe array initialization of concurrent HashMap of j ...
Posted by reapfyre on Fri, 04 Mar 2022 09:25:47 +0100
Java magic class: Unsafe application analysis
catalogue
preface
Basic introduction
Function introduction
Memory operation
CAS related
Thread scheduling
Class correlation
Object operation
Array correlation
Memory barrier
System related
epilogue
reference material
Introduction to the author
preface
Unsafe is located in sun A class under misc package mainly provides some m ...
Posted by crucialnet on Sun, 20 Feb 2022 01:38:04 +0100
CAS process analysis server handles login request without Service
Processing flow configuration of login request
/WEB-INF/web. The configuration of welcome page in XML is as follows:
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
index. The contents of the JSP are as follows:
<%@ page language="java" session="false" %>
<%
final Strin ...
Posted by dsainteclaire on Wed, 02 Feb 2022 05:55:43 +0100
Brief analysis of CAS process client processing Ticket access request
brief introduction
The user's request to access the client will first go through the filter chain configured by the client. The common filters are as follows:
CAS Single Sign Out Filter-SingleSignOutFilter
Realize single sign out and put it in the first position; CAS Validation Filter-Cas30ProxyReceivingTicketValidationFilter
Be respons ...
Posted by nazariah on Sun, 30 Jan 2022 20:41:12 +0100
☕ [Java deep series] [concurrent programming series] let's explore the technical principle and source code analysis of CountDownLatch
Working principle analysis of CountDownLatch
1, General introduction
So this article shares and analyzes jdk1 8. Working principle of CountDownLatch;
Get to know CountDownLatch
What is CountDownLatch?
CountDownLatch literally means that count does the subtraction of down, and Latch means door Latch;
CountDownLatch is a synchroniz ...
Posted by henryblake1979 on Tue, 25 Jan 2022 18:02:13 +0100
CAS5.3 server configuration, link mysql, custom password encryption, login page, login verification, custom exception, ajax login, etc
catalogue
1. Configuring mysql for cas server 2. cas server custom password encryption method 3. The cas server can customize the theme, that is, the login page, or other pages 4. The cas server adds fields to the form submitted during login 5. cas server custom login verification 6. cas server custom return exception 7. The cas server uses aj ...
Posted by sdlyr8 on Tue, 04 Jan 2022 14:32:06 +0100
CAS 6.1.x single sign on and sign out
CAS (Central Authentication Service): a set of solutions for SSO, that is, unified identity authentication service or central identity server, which is composed of server and client, which is easy to integrate enterprise applications.
CAS principle
framework
The most basic protocol process of CAS
Access service: the SSO client ...
Posted by nev25 on Wed, 15 Sep 2021 07:55:33 +0200