Skip to content

Commit

Permalink
feat: [#131]: 허용 범위 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
kuk6933 committed Sep 28, 2023
1 parent 442cd55 commit d333209
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/rf/rfserver/config/WebSecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ public SecurityFilterChain filterChain(HttpSecurity http, TokenAuthenticationFil
return http
.csrf(AbstractHttpConfigurer::disable)
.authorizeHttpRequests(requests ->
requests.requestMatchers("/", "/swagger-ui/**", "/user/**", "/party/**"
, "/mail/**", "/schedule/**", "/report/**","/chat/**", "/block/**",
requests.requestMatchers("/", "/user/login", "/chat/**", "/user", "/user/idCheck/**", "/user/nicknameCheck/**" ,
"/user/findId", "/user/resetPassword",
"/token", "/enums", "/apns/**", "/ws/**").permitAll() // requestMatchers의 인자로 전달된 url은 모두에게 허용
.anyRequest().authenticated() // 그 외의 모든 요청은 인증 필요
)
Expand Down

0 comments on commit d333209

Please sign in to comment.