We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f4d665f + 07c498c commit 1fdb29aCopy full SHA for 1fdb29a
1 file changed
src/main/java/com/howaboutquestion/backend/global/config/SecurityConfig.java
@@ -56,7 +56,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
56
.sessionManagement(s -> s.sessionCreationPolicy(SessionCreationPolicy.STATELESS))
57
.authorizeHttpRequests(auth -> auth
58
.requestMatchers(jwtAuthenticationFilter.getAllowUrls()).permitAll()
59
- .requestMatchers(jwtAuthenticationFilter.getNotAllowUrls()).authenticated())
+ .anyRequest().authenticated())
60
.headers(headers -> headers
61
.frameOptions(frameOptions -> frameOptions.sameOrigin()))
62
.addFilterBefore(jwtAuthenticationFilter, UsernamePasswordAuthenticationFilter.class)
0 commit comments