1.의의

2.테이블 생성

1)유니크 인덱스

CREAE UNIQUE INDEX ix_auth_username ON authorities(username,authority);

3)기본 JDBC 기반 인증

//DataSource 자동 주입
@Autowired
	DataSource dataSource;

//JDBC기반 인증 스프링 시큐리티 설정	
	@Override
	protected void configure(AuthenticationManagerBuilder auth) throws Exception {
		auth.jdbcAuthentication()
		.dataSource(dataSource)
		.passwordEncoder(passwordEncoder());
	}

3.전역 AuthenticationManager를 설정(ch0401a)