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<>(); /** * 주어진 경로가 허용된 경로인지 확인