Skip to content

Commit 1fdb29a

Browse files
authored
Merge pull request #45 from HowAboutQuestion/chore/url-config
chore: security config url update
2 parents f4d665f + 07c498c commit 1fdb29a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/howaboutquestion/backend/global/config/SecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
5656
.sessionManagement(s -> s.sessionCreationPolicy(SessionCreationPolicy.STATELESS))
5757
.authorizeHttpRequests(auth -> auth
5858
.requestMatchers(jwtAuthenticationFilter.getAllowUrls()).permitAll()
59-
.requestMatchers(jwtAuthenticationFilter.getNotAllowUrls()).authenticated())
59+
.anyRequest().authenticated())
6060
.headers(headers -> headers
6161
.frameOptions(frameOptions -> frameOptions.sameOrigin()))
6262
.addFilterBefore(jwtAuthenticationFilter, UsernamePasswordAuthenticationFilter.class)

0 commit comments

Comments
 (0)