Architecture Components 에는 다음과 같이 9종류가 있다.
SecurityContextHolder
The SecurityContextHolder is where Spring Security stores the details of who is authenticated.
SecurityContextHolder는 스프링 시큐리티가 디테일을 저장하는 곳이다.
SecurityContext
is obtained from the SecurityContextHolder and contains the Authentication of the currently authenticated user.
SecurityContext는 SecurityContextHolder에 담겨지는 것으로서 현재 인증된 사용자의 인증을 담는다.
Authentication
Can be the input to AuthenticationManager to provide the credentials a user has provided to authenticate or the current user from the SecurityContext.
Authentication은 SecurityContext에 담긴 현재 사용자 또는 유저에게 자격을 주기 위해 AuthenticationManager에 담기는 것이다.
GrantedAuthority
An authority that is granted to the principal on the Authentication (i.e. roles, scopes, etc.)
GrantedAuthority 는 인증의 Pricipal에 주어진 권한이다.
AuthenticationManager
the API that defines how Spring Security’s Filters perform authentication.
AuthenticationManager는 스프링시큐리티 필터가 어떻게 인증을 할 것인지 정의하는 API이다.
ProviderManager
the most common implementation of AuthenticationManager.
ProviderManager 는 가장 많이 구현되는 AuthenticationManager의 종류이다.
AuthenticationProvider
used by ProviderManager to perform a specific type of authentication.
AuthenticationProvider는 ProviderManager에 의해 특정한 인증을 위해 사용되는 것이다.
Request Credentials with AuthenticationEntryPoint
used for requesting credentials from a client (i.e. redirecting to a log in page, sending a WWW-Authenticate response, etc.)
자격을 클라이언트로부터 요청 받는 데 사용된다.
AbstractAuthenticationProcessingFilter
a base Filter used for authentication. This also gives a good idea of the high level flow of authentication and how pieces work together.
AbstractAuthenticationProcessingFilter는 인증에 사용되는기본 필터이다. 높은 수준의 인증흐름과 각 piece 들이 어떻게 작동하는지에 대한 아이디어를 제공한다.
'Back-End > Spring Security' 카테고리의 다른 글
Authentication Components (3) Authentication (0) | 2021.03.17 |
---|---|
Authentication Components (2) SecurityContextHolder, SecurityContext (0) | 2021.03.17 |
Spring Security Authentication (5) DaoAuthenticationProvider (0) | 2021.03.16 |
Spring Security Authentication (4) PasswordEncoder (0) | 2021.03.16 |
Spring Security Authentication (3) UserDetails (0) | 2021.03.16 |
댓글