From c500fbaa3a9e9629ee7106b6ef2be795740b2c32 Mon Sep 17 00:00:00 2001 From: suhaoh Date: Wed, 16 Oct 2024 13:45:26 +0900 Subject: [PATCH] =?UTF-8?q?[33]=20=EB=B6=88=ED=95=84=EC=9A=94=ED=95=9C=20?= =?UTF-8?q?=EB=A1=9C=EA=B7=B8=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/example/commerce_site/config/SecurityConfig.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/org/example/commerce_site/config/SecurityConfig.java b/src/main/java/org/example/commerce_site/config/SecurityConfig.java index baf0760..c68a9cb 100644 --- a/src/main/java/org/example/commerce_site/config/SecurityConfig.java +++ b/src/main/java/org/example/commerce_site/config/SecurityConfig.java @@ -70,8 +70,6 @@ private Collection extractAuthorities(Jwt jwt) { var roles = (Map)resourceAccess.get("oauth2-client-app"); if (roles != null) { - log.info(roles.toString()); - var roleList = (List)roles.get("roles"); return roleList.stream() .map(role -> new SimpleGrantedAuthority(role))