| | |
| | | .authorizeRequests() |
| | | .antMatchers(HttpMethod.OPTIONS, "/**").permitAll() |
| | | .antMatchers("/login").permitAll() |
| | | .antMatchers("/html").permitAll() |
| | | .antMatchers("/swagger**/**").permitAll() |
| | | .antMatchers("/webjars/**").permitAll() |
| | | .antMatchers("/v2/**").permitAll() |
| | | .antMatchers("/api/common/**").permitAll() |
| | | .antMatchers("/api/common/login").permitAll() |
| | | .antMatchers("/api/common/captcha").permitAll() |
| | | .antMatchers("/api/common/doUpload").permitAll() |
| | | .antMatchers("/api/common/uploadFile").permitAll() |
| | | .antMatchers("/api/messageBoard/addMessage").permitAll() |
| | | .antMatchers("/image/**").permitAll() |
| | | .anyRequest().authenticated() |
| | | .and().apply(securityConfiguereAdapter()); |
| | | } |