접근 임시 전체 허용 처리
This commit is contained in:
parent
0912e1d031
commit
4d6a3604df
@ -61,6 +61,8 @@ public class SpringSecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
@Override
|
||||
protected void configure(HttpSecurity http) throws Exception {
|
||||
http.authorizeRequests()
|
||||
.antMatchers("/**").permitAll();
|
||||
/*
|
||||
.antMatchers("/login/**").permitAll()
|
||||
.antMatchers("/member/*.do").permitAll()
|
||||
.antMatchers("/member/*.ajax").permitAll()
|
||||
@ -97,7 +99,7 @@ public class SpringSecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
.permitAll()
|
||||
.and().csrf()
|
||||
.disable();
|
||||
|
||||
*/
|
||||
http.logout()
|
||||
.logoutSuccessUrl("/login/loginCouncil.do?logout=logout")
|
||||
.invalidateHttpSession(true).deleteCookies("JSESSIONID")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user