Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dragontaek-lee committed Sep 23, 2023
2 parents 3351e5e + 1364462 commit ab8aad2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.cors().configurationSource(corsConfigurationSource())
.and()
.authorizeRequests()
.antMatchers("/v2/api-docs/**", "/swagger-ui.html", "/webjars/swagger-ui/**", "/swagger-ui/**", "/swagger-resources/**", "/api/v1/auth/**","/exception/**").permitAll()
.antMatchers("/api/v1/auth/**","/exception/**").permitAll()
.and()
.authorizeRequests()
.antMatchers("/api/v1/**").authenticated()
.antMatchers("/api/v1/**", "/swagger-ui/**").authenticated()
.and()
.sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS)
.and()
Expand Down

0 comments on commit ab8aad2

Please sign in to comment.