Skip to content

Commit

Permalink
chore: 시큐리티 설정 JwtAuthenticationEntryPoint 적용 해제 (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyeong-hyeok committed Aug 15, 2023
1 parent c22ea5f commit ee3de28
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/com/project/mapdagu/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ public SecurityFilterChain filterChain(HttpSecurity http, HandlerMappingIntrospe
.userInfoEndpoint(userInfoEndPoint -> userInfoEndPoint.userService(customOauth2UserService)))
.addFilterAfter(customJsonUsernamePasswordAuthenticationFilter(), LogoutFilter.class)
.addFilterBefore(jwtAuthenticationProcessingFilter(), CustomJsonAuthenticationFilter.class)
.exceptionHandling(exception -> exception.accessDeniedHandler(jwtAccessDeniedHandler)
.authenticationEntryPoint(jwtAuthenticationEntryPoint));
.exceptionHandling(exception -> exception.accessDeniedHandler(jwtAccessDeniedHandler));

return http.build();
}
Expand Down

0 comments on commit ee3de28

Please sign in to comment.