主要基于springsecurity实现jwt登陆的案例
主要基于springsecurity实现分布式session登陆案例
登陆
curl --location --request POST '127.0.0.1:8070/user/login'
--header 'Content-Type: application/json'
--header 'Cookie: SESSION=Yzk0ODVmNjYtYjI1Yi00Mjc3LWEzYmQtZmE2ODQxMmY3NTZj'
--data-raw '{
"username":"learn",
"password":"learn"
}'
PersistStateMachineHandler+PersistStateChangeListener
StateMachineRuntimePersister
StateMachinePersister