분류 전체보기68 Spring Security Authentication (5) DaoAuthenticationProvider 이번 포스팅은 DDaoAuthenticationProvider의 작동원리가 되겠다. 1. The authentication Filter from Reading the Username & Password passes a UsernamePasswordAuthenticationToken to the AuthenticationManager which is implemented by ProviderManager. Username과 Password를 인증하는 필터는 UsernamePasswordAuthenticationToken 을 생성하여 AuthenticationManager 로전달한다. 2.The ProviderManager is configured to use an AuthenticationProvider .. 2021. 3. 16. Spring Security Authentication (4) PasswordEncoder Spring Security’s servlet support storing passwords securely by integrating with PasswordEncoder. 스프링 시큐리티의 서블릿은 PasswordEncoder와 통합하여 안전한 비밀번호 저장을 지원한다. Customizing the PasswordEncoder implementation used by Spring Security can be done by exposing a PasswordEncoder Bean. PasswordEncoder Bean을 설정하여 PasswordEncoder의 설정이 가능하다. 2021. 3. 16. Spring Security Authentication (3) UserDetails #UserDetails UserDetails is returned by the UserDetailsService. The DaoAuthenticationProvider validates the UserDetails and then returns an Authentication that has a principal that is the UserDetails returned by the configured UserDetailsService. UserDetails는 UserDetailService에 의해 반환된다. DaoAuthenticationProvider 가 UserDetails를 유효화하고 인증한다. Authentication은 UserDetails의 핵심이며 UserDetailsService에 의해 .. 2021. 3. 16. Spring Security Authentication (2) JDBC Authentication Spring Security’s JdbcDaoImpl implements UserDetailsService to provide support for username/password based authentication that is retrieved using JDBC. 스프링 시큐리티의 jdbcDaoImpl은 JDBC의 username/password 인증을 지원하기 위해 UserDetailService를 인터페이스로 구현한다. JdbcUserDetailsManager extends JdbcDaoImpl to provide management of UserDetails through the UserDetailsManager interface. JdbcUserDetailsManager 는 JdbcDaoI.. 2021. 3. 16. 이전 1 ··· 13 14 15 16 17 다음