[코드 개선] Lombok의 @Getter 및 @Setter 어노테이션을 추가
This commit is contained in:
@@ -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<String> permitAllPaths;
|
||||
|
||||
public List<String> getPermitAllPaths() {
|
||||
return permitAllPaths;
|
||||
}
|
||||
|
||||
public void setPermitAllPaths(List<String> permitAllPaths) {
|
||||
this.permitAllPaths = permitAllPaths;
|
||||
}
|
||||
private List<String> permitAllPaths = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* 주어진 경로가 허용된 경로인지 확인
|
||||
|
Reference in New Issue
Block a user