#DelegatingSecurityContextAsyncTaskExecutor

spring seurity集成spring boot使用DelegatingSecurityContextAsyncTaskExecutor类异步授权authentication登录登出退出信息@async

方法1:将SecurityContextHolder的策略更改为MODE_INHERITABLETHREADLOCAL<beans:beanclass="org.springframework.beans.factory.config.MethodInvokingFactoryBean"><beans...