Authentication event AuthenticationSuccessEvent: test777; details: org.springframework.security.ui.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: 46399F4EF5621F5F9E37D3F9D1051812
WARN - Authentication event InteractiveAuthenticationSuccessEvent: test777; details: org.springframework.security.ui.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: 46399F4EF5621F5F9E37D3F9D1051812
但是:SecurityContextHolder.getContext().getAuthentication().getPrincipal()得不用户信息
跟踪:authentication 为null
萧十郎
炎炎设计