Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/integration' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
ChoiWonYu committed Sep 11, 2024
2 parents 14768e5 + 6f5f072 commit 2ce9dba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ public SecurityFilterChain filterChain(final HttpSecurity http) throws Exception
.authorizeHttpRequests(authorize -> authorize
.requestMatchers(AUTH_WHITELIST).permitAll()
.requestMatchers("/admin/**").hasRole("ADMIN")
.requestMatchers(HttpMethod.GET, "/**").hasRole("WEB")
.requestMatchers(HttpMethod.GET, "/**").hasAnyRole("ADMIN", "USER", "WEB")
.requestMatchers("/**").hasAnyRole("ADMIN", "USER")
.anyRequest().denyAll()
.anyRequest().authenticated()
)
.addFilterBefore(new JwtAuthFilter(tokenManager, userDetailsService),
UsernamePasswordAuthenticationFilter.class)
Expand Down

0 comments on commit 2ce9dba

Please sign in to comment.