From 1153f164fcdf368e18aedd4cbf11f2c5b376e74e Mon Sep 17 00:00:00 2001 From: sohot8653 Date: Fri, 22 Aug 2025 01:05:51 +0900 Subject: [PATCH] =?UTF-8?q?[=EC=BD=94=EB=93=9C=20=EA=B0=9C=EC=84=A0]=20Lom?= =?UTF-8?q?bok=EC=9D=98=20@Getter=20=EB=B0=8F=20@Setter=20=EC=96=B4?= =?UTF-8?q?=EB=85=B8=ED=85=8C=EC=9D=B4=EC=85=98=EC=9D=84=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../global/config/SecurityPathConfig.java | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/main/java/com/bio/bio_backend/global/config/SecurityPathConfig.java b/src/main/java/com/bio/bio_backend/global/config/SecurityPathConfig.java index 7b4b57c..51462e9 100644 --- a/src/main/java/com/bio/bio_backend/global/config/SecurityPathConfig.java +++ b/src/main/java/com/bio/bio_backend/global/config/SecurityPathConfig.java @@ -1,23 +1,20 @@ package com.bio.bio_backend.global.config; +import lombok.Getter; +import lombok.Setter; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; +import java.util.ArrayList; import java.util.List; +@Getter +@Setter @Component @ConfigurationProperties(prefix = "security") public class SecurityPathConfig { - private List permitAllPaths; - - public List getPermitAllPaths() { - return permitAllPaths; - } - - public void setPermitAllPaths(List permitAllPaths) { - this.permitAllPaths = permitAllPaths; - } + private List permitAllPaths = new ArrayList<>(); /** * 주어진 경로가 허용된 경로인지 확인