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