1. SecurityContextHolder와 Authentication

2. AuthenticationManager와 Authentication

3. ThreadLocal

4. Authentication과 SecurityContextHolder

1. SecurityContextHolder와 Authentication

Untitled

1-1) SecurityContextHolder(인증 정보를 담고 있는 곳)

1-2) Security Context

1-3) Authentication(인증)

2. AuthenticationManager와 Authentication

2-1) AuthenticationManager

Untitled

2-1)-1. ProviderManager

Untitled

2-1)-2. AbstractUserDetailsAuthenticationProvider

Untitled

2-1)-3. DaoAuthenticationProvider

Untitled

2-1)-4. ProviderManager

Untitled

3. ThreadLocal

3-1) AccountContext(SecurityContextHolder의 기본 적략)

Untitled

3-2) SampleController

Untitled

3-3) SampleService

Untitled

3-4) Console

Untitled

4. Authentication과 SecurityContextHolder

4-1) SampleService