Skip to content

Commit

Permalink
refactor: SecurityFilterConfig.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladik-gif committed Sep 6, 2024
1 parent d3ba42e commit 489d13b
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public SecurityFilterChain filterChain(HttpSecurity httpSecurity) throws Excepti
.csrf(AbstractHttpConfigurer::disable)
.authorizeHttpRequests(auth -> auth
.requestMatchers(WHITELIST_URLS).permitAll()
.requestMatchers("/demo-controller").hasAuthority("USER")
.anyRequest().authenticated()
)
.sessionManagement(sess -> sess.sessionCreationPolicy(SessionCreationPolicy.STATELESS))
Expand Down

0 comments on commit 489d13b

Please sign in to comment.