public class AntPathMathcher extends Object implements PathMatcher
com/t?st.jsp
com/*.jsp
com/**/test.jsp
org/springframe/**/*.jsp
2.AntPathRequestMatcher
public final class AntPathRequestMatcher extends java.lang.Object implements RequestMatcher,RequestVariableExtreactor
3.접근 제한 설정(ch0801)
http.authorizeRequests()
.requestMatchers(PathRequest.toStaticResources().atCommonLocations()).permitAll()
.antMatchers("/").permitAll()
.antMatchers("/auth/login").permitAll()
.antMatchers("/user/register", "/user/registerSuccess").permitAll()
.antMatchers("/codegroup/**").hasRole("ADMIN")
.antMatchers("/codedetail/**").hasRole("ADMIN")
.antMatchers("/board/list", "/board/read").permitAll()
.antMatchers("/board/register", "/board/modify").hasRole("MEMBER")
.antMatchers("/board/remove").hasAnyRole("MEMBER", "ADMIN")
.antMatchers("/notice/list", "/notice/read").permitAll()
.antMatchers("/notice/register", "/notice/modify", "/notice/remove").hasRole("ADMIN")
.anyRequest().authenticated();
4.access()메서드 사용(ch0801a)