api key or 서버 경로를
java 파일에 하드 코딩하는것은 보안상 이슈가 생김.
이에 대한 대안책.
DB의 특정 table에 값을 넣어두고 query로 select 해서 사용
설정파일로 빼서 관리
이 중 2번째 솔루션에 대한 내용이다.
Spring mvc (Legacy project)

a.b.c.d.e = test String 1
a.b.c = test String2
<beans:bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<beans:property name="locations">
<beans:list>
<beans:value>classpath:/api.properties</beans:value>
</beans:list>
</beans:property>
</beans:bean>
<!-- api key 인증정보 파일 bean 등록 -->
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>classpath:/api.properties</value>
</list>
</property>
</bean>
@Value("${a.d.c}")
private String testString;
System.out.println("testString : "+testString);