1.의의
2.기본 API 살펴보기

3.SecurityConfig.java 설정
http
.authorizeRequests()
.anyRequest().authenticated()
@Configuration
@EnableWebSecurity
public class SecurityConfig extends WebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception {
http
.authorizeRequests()
.anyRequest().authenticated()
.and()
.httpbasic()
}
4.기본 스프링 시큐리티 클래스 구조
Hierarchy For Package org.springframework.security.config.annotation.web.configuration
Package Hierarchies:
All Packages
Class Hierarchy
java.lang.Object
org.springframework.security.config.annotation.web.configuration.AutowiredWebSecurityConfigurersIgnoreParents
org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration (implements org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.context.annotation.ImportAware)
org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter (implements org.springframework.security.config.annotation.web.WebSecurityConfigurer<T>)
Interface Hierarchy
org.springframework.security.config.annotation.web.configuration.WebSecurityCustomizer
Annotation Type Hierarchy
org.springframework.security.config.annotation.web.configuration.EnableWebSecurity (implements java.lang.annotation.Annotation)
