제공된 security-manager.properties 파일을 CONFIG_PATH 로 지정한 경로( WAS_HOME )에 복사합니다.
security-manager.properties 의 내용은 다음과 같습니다.
4개 property 의 값은 Manager 모듈에서 사용됩니다.
queryLoader.rootPath=query glue-security-dataSource.jndiname=jdbc/oracle/GlueSecurityDS glueUserService.crc=true log.file.path=C:/logs/security-manager.log
security-manager.properties 의 사용처
<beans ...>
<bean id="placeholderConfig" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location" value="file:${CONFIG_PATH}/security-manager.properties" />
<property name="ignoreUnresolvablePlaceholders" value="true" />
</bean>
...
<bean id="queryLoader" class="com.poscoict.glueframework.dao.manager.GlueQueryLoader">
<property name="rootPath" value="${queryLoader.rootPath}" />
</bean>
...
<bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean" lazy-init="true">
<property name="jndiName" value="${glue-security-dataSource.jndiname}" />
</bean>
...
</beans>
<configuration ...>
<property file="${CONFIG_PATH}/security-manager.properties"/>
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<file>${log.file.path}</file>
...
</configuration>
<beans:beans ...>
<beans:bean id="placeholderConfig" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<beans:property name="location" value="file:${CONFIG_PATH}/security-manager.properties" />
...
<beans:bean id="glueUserService" class="com.poscoict.glueframework.security.bean.GlueUserDetailsService">
<beans:property name="crc" value="${glueUserService.crc}"/>
...
</beans:beans>