728x90 spring security 6.41 Spring Security 6.4 새로운 기능 Spring Security 6.4에서 기존 방식에서 새로운 방식으로 변경된 내용을 더 자세히 살펴보겠습니다.1. authorizeRequests() → authorizeHttpRequests()기존 방식@Overrideprotected void configure(HttpSecurity http) throws Exception { http .authorizeRequests() .antMatchers("/public/**").permitAll() .antMatchers("/admin/**").hasRole("ADMIN") .anyRequest().authenticated() .and() .formLogin.. 2024. 12. 3. 이전 1 다음 728x90