[코드 개선] Lombok의 @Getter 및 @Setter 어노테이션을 추가
This commit is contained in:
		@@ -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;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * 주어진 경로가 허용된 경로인지 확인
 | 
					     * 주어진 경로가 허용된 경로인지 확인
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user