흔자
반응형
[Spring] Spring Security로 웹 어플리케이션 인증 및 권한 관리하기
Develop/Java 2023. 4. 26. 17:11

Spring Security란? Spring Security는 웹 애플리케이션의 인증 및 권한 관리를 간편하게 처리할 수 있는 프레임워크이다. 이를 통해 개발자들은 보안에 대한 고민을 최소화하고, 실제 비즈니스 로직에 집중할 수 있다. 예시 @Configuration @EnableWebSecurity public class SecurityConfig extends WebSecurityConfigurerAdapter { @Autowired public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception { auth.inMemoryAuthentication() .withUser("user").password("{noop}passw..

반응형