|
@@ -31,7 +31,7 @@ import java.util.Map;
|
|
|
//@EnableGlobalMethodSecurity(securedEnabled = true)
|
|
|
public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
|
|
|
|
|
- private final WebLoginService loginService;
|
|
|
+ private final UserDetailsServiceImpl loginService;
|
|
|
private final WebLoginSuccessHandler webLoginSuccessHandler;
|
|
|
private final WebLoginFailureHandler webLoginFailureHandler;
|
|
|
|
|
@@ -48,10 +48,10 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
|
|
web.ignoring().antMatchers(HttpMethod.POST, "/cs-api/**"); // GET Method 는 모두 통과
|
|
|
web.ignoring().antMatchers(HttpMethod.PUT, "/cs-api/**"); // GET Method 는 모두 통과
|
|
|
web.ignoring().antMatchers(HttpMethod.DELETE, "/cs-api/**"); // GET Method 는 모두 통과
|
|
|
- web.ignoring().antMatchers(HttpMethod.GET, "/resource/**"); // GET Method 는 모두 통과
|
|
|
- web.ignoring().antMatchers(HttpMethod.POST, "/resource/**"); // GET Method 는 모두 통과
|
|
|
- web.ignoring().antMatchers(HttpMethod.PUT, "/resource/**"); // GET Method 는 모두 통과
|
|
|
- web.ignoring().antMatchers(HttpMethod.DELETE, "/resource/**"); // GET Method 는 모두 통과
|
|
|
+ web.ignoring().antMatchers(HttpMethod.GET, "/api/resource/**"); // GET Method 는 모두 통과
|
|
|
+ web.ignoring().antMatchers(HttpMethod.POST, "/api/resource/**"); // GET Method 는 모두 통과
|
|
|
+ web.ignoring().antMatchers(HttpMethod.PUT, "/api/resource/**"); // GET Method 는 모두 통과
|
|
|
+ web.ignoring().antMatchers(HttpMethod.DELETE, "/api/resource/**"); // GET Method 는 모두 통과
|
|
|
}
|
|
|
|
|
|
//@Override
|