Skip to content

Commit

Permalink
chore: permitAll 로 임시 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
eunbc committed Jan 12, 2024
1 parent 71f78fa commit b431a64
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,13 +221,13 @@ public SecurityFilterChain securityFilterChainDefault(HttpSecurity http) throws
configureCommonSecuritySettings(http);
http
.authorizeHttpRequests()
.anyRequest().permitAll()
.and()
.addFilterAfter(jwtAuthenticationFilter, ExceptionTranslationFilter.class)
.exceptionHandling(exception -> {
exception.authenticationEntryPoint(jwtAuthenticationEntryPoint);
exception.accessDeniedHandler(jwtAccessDeniedHandler);
});
.anyRequest().permitAll();
// .and()
// .addFilterAfter(jwtAuthenticationFilter, ExceptionTranslationFilter.class)
// .exceptionHandling(exception -> {
// exception.authenticationEntryPoint(jwtAuthenticationEntryPoint);
// exception.accessDeniedHandler(jwtAccessDeniedHandler);
// });
return http.build();
}

Expand Down

0 comments on commit b431a64

Please sign in to comment.