[코드 개선] Lombok의 @Getter 및 @Setter 어노테이션을 추가

This commit is contained in:
sohot8653
2025-08-22 01:05:51 +09:00
parent 1850227d24
commit 1153f164fc

View File

@@ -1,23 +1,20 @@
package com.bio.bio_backend.global.config; package com.bio.bio_backend.global.config;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import java.util.ArrayList;
import java.util.List; import java.util.List;
@Getter
@Setter
@Component @Component
@ConfigurationProperties(prefix = "security") @ConfigurationProperties(prefix = "security")
public class SecurityPathConfig { public class SecurityPathConfig {
private List<String> permitAllPaths; private List<String> permitAllPaths = new ArrayList<>();
public List<String> getPermitAllPaths() {
return permitAllPaths;
}
public void setPermitAllPaths(List<String> permitAllPaths) {
this.permitAllPaths = permitAllPaths;
}
/** /**
* 주어진 경로가 허용된 경로인지 확인 * 주어진 경로가 허용된 경로인지 확인