Skip to content

Commit

Permalink
Merge pull request #168 from Kusitms-29th-MeetUp-H/feat/166-socket
Browse files Browse the repository at this point in the history
[fix]:Socket sercurity 수정
  • Loading branch information
qogustj authored May 23, 2024
2 parents aab225e + 0d1a282 commit d1056d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.exceptionHandling(exceptionHandlingConfigurer ->
exceptionHandlingConfigurer.authenticationEntryPoint(jwtAuthenticationEntryPoint))
.authorizeHttpRequests(authorizationManagerRequestMatcherRegistry ->
authorizationManagerRequestMatcherRegistry.requestMatchers("/ws/**").permitAll().anyRequest().authenticated())
authorizationManagerRequestMatcherRegistry.requestMatchers("/ws/**","/wss/**").permitAll().anyRequest().authenticated())
.addFilterBefore(new JwtAuthenticationFilter(jwtProvider), UsernamePasswordAuthenticationFilter.class)
.addFilterBefore(new ExceptionHandlerFilter(), JwtAuthenticationFilter.class)
.build();
Expand Down

0 comments on commit d1056d1

Please sign in to comment.