NoOpPasswordEncoder (1) 썸네일형 리스트형 [Spring Boot] Spring Security 설정 커스터마이징 1. 웹 시큐리티 설정 아래와 같은 화면에서 My에만 인증이 필요하게 변경하고 싶은 경우 WebSecurityConfigurerAdapter를 상속받는 Config 파일 생성 -> 이렇게 되면 Spring Boot가 제공하는 Security 자동설정은 적용되지 않음 @Configuration public class SecurityConfig extends WebSecurityConfigurerAdapter { @Override protected void configure(HttpSecurity http) throws Exception { http.authorizeRequests() .antMatchers("/", "/hello").permitAll() .anyRequest().authenticated().. 이전 1 다음