SecurityContext
SecurityContextHolder
저장 방식
생성
SecurityContext context = SecurityContextHolder.createEmptyContext();
Authentication authentication = new TestingAuthenticationToken("username", "password", "ROLE_USER");
context.setAuthentication(authentication);
SecurityContextHolder.setContext(context);조회
SecurityContextPersistenceFilter
Last updated