Skip to content

Commit 9b09cdf

Browse files
committed
feat(SecurityConfig): @slf4j, (securedEnabled = true) 추가로 @secured 작동하도록 수정
1 parent 7d5be72 commit 9b09cdf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/java/com/somemore/global/configure/SecurityConfig.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import com.somemore.auth.oauth.handler.success.CustomOAuthSuccessHandler;
77
import com.somemore.auth.oauth.service.CustomOAuth2UserService;
88
import lombok.RequiredArgsConstructor;
9-
import lombok.extern.slf4j.Slf4j;
109
import org.springframework.context.annotation.Bean;
1110
import org.springframework.context.annotation.Configuration;
1211
import org.springframework.security.config.annotation.method.configuration.EnableMethodSecurity;
@@ -20,8 +19,7 @@
2019
@RequiredArgsConstructor
2120
@Configuration
2221
@EnableWebSecurity
23-
@EnableMethodSecurity
24-
@Slf4j
22+
@EnableMethodSecurity(securedEnabled = true)
2523
public class SecurityConfig {
2624

2725
private final CustomOAuth2UserService customOAuth2UserService;

0 commit comments

Comments
 (0)