Skip to content

Commit

Permalink
Merge pull request #87 from 0702Yoon/main
Browse files Browse the repository at this point in the history
swagger 설정을 위한 테스트
  • Loading branch information
0702Yoon authored Aug 14, 2024
2 parents 9620d7e + 391a204 commit e501fe9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
.requestMatchers(SERVER+"/members/manager").hasRole("ADMIN")
.requestMatchers(SERVER+"members/information").hasAnyRole("ADMIN","USER")
// 이 밖에 모든 요청에 대해서 인증을 필요로 한다는 설정
.anyRequest().authenticated()
.anyRequest().permitAll()
)
// JWT 인증을 위하여 직접 구현한 필터를 UsernamePasswordAuthenticationFilter 전에 실행
.addFilterBefore(new JwtAuthenticationFilter(jwtTokenProvider),
Expand Down

0 comments on commit e501fe9

Please sign in to comment.