SSO 대응
This commit is contained in:
@@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans
|
||||
xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:p="http://www.springframework.org/schema/p"
|
||||
xmlns:aop="http://www.springframework.org/schema/aop"
|
||||
xmlns:context="http://www.springframework.org/schema/context"
|
||||
xmlns:jee="http://www.springframework.org/schema/jee"
|
||||
xmlns:tx="http://www.springframework.org/schema/tx"
|
||||
xmlns:util="http://www.springframework.org/schema/util"
|
||||
xmlns:mvc="http://www.springframework.org/schema/mvc"
|
||||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.2.xsd
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
|
||||
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd
|
||||
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.2.xsd
|
||||
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.2.xsd
|
||||
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.2.xsd
|
||||
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd
|
||||
">
|
||||
<bean class="com.eactive.eai.rms.common.spring.CustomBeanFactoryPostProcessor" />
|
||||
<!-- Online Gateway -->
|
||||
<bean
|
||||
id="APIGW"
|
||||
class="com.eactive.eai.rms.common.datasource.DataSourceType"
|
||||
p:name="APIGW"
|
||||
p:text="APIGW"
|
||||
p:schema="AGWADM"
|
||||
p:dynamic="true"
|
||||
p:online="true"
|
||||
p:jndiName="jdbc/dsOBP_AGW"
|
||||
p:render="ONL,COM"
|
||||
/>
|
||||
<!-- BAP 일괄전송FTP -->
|
||||
<!-- <bean-->
|
||||
<!-- id="BAP"-->
|
||||
<!-- class="com.eactive.eai.rms.common.datasource.DataSourceType"-->
|
||||
<!-- p:name="BAP"-->
|
||||
<!-- p:text="BAP"-->
|
||||
<!-- p:schema="BAPADM"-->
|
||||
<!-- p:dynamic="true"-->
|
||||
<!-- p:online="true"-->
|
||||
<!-- p:jndiName="jdbc/dsOBP_BAP"-->
|
||||
<!-- p:render="BAP,COM"-->
|
||||
<!-- />-->
|
||||
<!-- RMS_DEFAULT -->
|
||||
<bean
|
||||
id="MONITORING"
|
||||
class="com.eactive.eai.rms.common.datasource.DataSourceType"
|
||||
p:name="MONITORING"
|
||||
p:text="MONITORING"
|
||||
p:schema="EMSADM"
|
||||
p:dynamic="false"
|
||||
p:online="false"
|
||||
p:jndiName="jdbc/dsOBP_EMS"
|
||||
/>
|
||||
|
||||
<!-- BATCH(EAI) -->
|
||||
|
||||
|
||||
<!-- META -->
|
||||
<!-- <bean
|
||||
id="META"
|
||||
class="com.eactive.eai.rms.common.datasource.DataSourceType"
|
||||
p:name="META"
|
||||
p:text="META"
|
||||
p:schema="ndapims"
|
||||
p:dynamic="false"
|
||||
p:online="false"
|
||||
p:jndiName="NDAPIMS_APP_NXA"
|
||||
/> -->
|
||||
|
||||
<!--IM -->
|
||||
<!-- <bean
|
||||
id="IM"
|
||||
class="com.eactive.eai.rms.common.datasource.DataSourceType"
|
||||
p:name="IM"
|
||||
p:text="IM"
|
||||
p:schema="ndapi"
|
||||
p:dynamic="false"
|
||||
p:online="false"
|
||||
p:jndiName="API_APP_NXA"
|
||||
/> -->
|
||||
|
||||
</beans>
|
||||
@@ -0,0 +1,136 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans
|
||||
xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:p="http://www.springframework.org/schema/p"
|
||||
xmlns:aop="http://www.springframework.org/schema/aop"
|
||||
xmlns:context="http://www.springframework.org/schema/context"
|
||||
xmlns:jee="http://www.springframework.org/schema/jee"
|
||||
xmlns:tx="http://www.springframework.org/schema/tx"
|
||||
xmlns:util="http://www.springframework.org/schema/util"
|
||||
xmlns:mvc="http://www.springframework.org/schema/mvc"
|
||||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.2.xsd
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
|
||||
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd
|
||||
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.2.xsd
|
||||
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.2.xsd
|
||||
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.2.xsd
|
||||
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd
|
||||
">
|
||||
<!-- JNDI DataSource for J2EE environments -->
|
||||
|
||||
<bean
|
||||
id="dataSource"
|
||||
class="com.eactive.eai.rms.common.datasource.RoutingDataSource">
|
||||
<property
|
||||
name="targetDataSources">
|
||||
<map
|
||||
key-type="java.lang.String">
|
||||
<entry
|
||||
key="APIGW"
|
||||
value-ref="APIGW" />
|
||||
<!-- <entry-->
|
||||
<!-- key="BAP"-->
|
||||
<!-- value-ref="BAP" />-->
|
||||
</map>
|
||||
</property>
|
||||
<property
|
||||
name="defaultTargetDataSource"
|
||||
ref="MONITORING">
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<context:component-scan
|
||||
base-package="com.eactive.eai.rms">
|
||||
<context:include-filter
|
||||
type="annotation"
|
||||
expression="org.springframework.stereotype.Component" />
|
||||
<context:exclude-filter
|
||||
type="annotation"
|
||||
expression="org.springframework.stereotype.Controller" />
|
||||
</context:component-scan>
|
||||
|
||||
<context:spring-configured />
|
||||
<context:annotation-config />
|
||||
|
||||
<bean
|
||||
class="org.springframework.context.annotation.CommonAnnotationBeanPostProcessor" />
|
||||
|
||||
<tx:annotation-driven transaction-manager="transactionManager" proxy-target-class="true" />
|
||||
|
||||
<aop:config>
|
||||
<aop:advisor pointcut="execution(* *..*Service.insert*(..))||execution(* *..*Service.update*(..))||execution(* *..*Service.delete*(..))||execution(* *..*Service.transaction*(..))||execution(* *..*Service.backup*(..))
|
||||
||execution(* *..*Service.requiresNewInsert*(..))||execution(* *..*Service.requiresNewUpdate*(..))||execution(* *..*Service.requiresNewDelete*(..))||execution(* *..*Service.requiresNewTransaction*(..))||execution(* *..*Service.requiresNewBackup*(..))
|
||||
" advice-ref="txAdvice"/>
|
||||
</aop:config>
|
||||
|
||||
<tx:advice id="txAdvice" transaction-manager="transactionManager">
|
||||
<tx:attributes>
|
||||
<tx:method name="requiresNewInsert*" propagation="REQUIRES_NEW" rollback-for="Exception"/>
|
||||
<tx:method name="requiresNewUpdate*" propagation="REQUIRES_NEW" rollback-for="Exception"/>
|
||||
<tx:method name="requiresNewDelete*" propagation="REQUIRES_NEW" rollback-for="Exception"/>
|
||||
<tx:method name="requiresNewTransaction*" propagation="REQUIRES_NEW" rollback-for="Exception"/>
|
||||
<tx:method name="requiresNewBackup*" propagation="REQUIRES_NEW" rollback-for="Exception"/>
|
||||
<tx:method name="insert*" propagation="REQUIRED" rollback-for="Exception"/>
|
||||
<tx:method name="update*" propagation="REQUIRED" rollback-for="Exception"/>
|
||||
<tx:method name="delete*" propagation="REQUIRED" rollback-for="Exception"/>
|
||||
<tx:method name="transaction*" propagation="REQUIRED" rollback-for="Exception"/>
|
||||
<tx:method name="backup*" propagation="REQUIRED" rollback-for="Exception"/>
|
||||
<tx:method name="*" read-only="true" />
|
||||
</tx:attributes>
|
||||
</tx:advice>
|
||||
|
||||
<!-- ibatis -->
|
||||
<bean
|
||||
id="sqlMapClient"
|
||||
class="org.springframework.orm.ibatis.SqlMapClientFactoryBean">
|
||||
<property
|
||||
name="dataSource"
|
||||
ref="dataSource" />
|
||||
<property name="configLocations">
|
||||
<list>
|
||||
<value>/WEB-INF/sqlmap-config/${db.vendor}/sqlMapConfigOfOnl.xml</value>
|
||||
<!-- <value>/WEB-INF/sqlmap-config/${db.vendor}/sqlMapConfigOfBap.xml</value>-->
|
||||
<!-- <value>/WEB-INF/sqlmap-config/${db.vendor}/sqlMapConfigOfBat.xml</value>
|
||||
<value>/WEB-INF/sqlmap-config/${db.vendor}/sqlMapConfigOfService.xml</value> -->
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
<!-- ibatis -->
|
||||
<bean
|
||||
id="sqlMapClientForMonitoring"
|
||||
class="org.springframework.orm.ibatis.SqlMapClientFactoryBean">
|
||||
<property
|
||||
name="dataSource"
|
||||
ref="MONITORING" />
|
||||
<property
|
||||
name="configLocation"
|
||||
value="/WEB-INF/sqlmap-config/${db.vendor}/sqlMapConfigForMonitoring.xml" />
|
||||
</bean>
|
||||
|
||||
<!-- ibatis 스테이징 모니터링 추가-->
|
||||
<!-- <bean
|
||||
id="sqlMapClientForMonitoring_stg"
|
||||
class="org.springframework.orm.ibatis.SqlMapClientFactoryBean">
|
||||
<property
|
||||
name="dataSource"
|
||||
ref="MONITORING_STG" />
|
||||
<property
|
||||
name="configLocation"
|
||||
value="/WEB-INF/sqlmap-config/${db.vendor}/sqlMapConfigForMonitoring.xml" />
|
||||
</bean> -->
|
||||
|
||||
|
||||
<!-- ibatis -->
|
||||
<!-- bean
|
||||
id="sqlMapClientForMeta"
|
||||
class="org.springframework.orm.ibatis.SqlMapClientFactoryBean">
|
||||
<property
|
||||
name="dataSource"
|
||||
ref="META" />
|
||||
<property
|
||||
name="configLocation"
|
||||
value="/WEB-INF/sqlmap-config/${db.vendor}/sqlMapConfigForMeta.xml" />
|
||||
</bean -->
|
||||
</beans>
|
||||
@@ -0,0 +1,18 @@
|
||||
# mariadb/postgresql/oracle/db2
|
||||
db.vendor=oracle
|
||||
# db.vendor specific dialect
|
||||
# Examples
|
||||
# - H2 : org.hibernate.dialect.H2Dialect
|
||||
# - oracle10g : org.hibernate.dialect.Oracle10gDialect
|
||||
# - MySQL8 : org.hibernate.dialect.MySQL8Dialect
|
||||
# - MariaDB 10.3 : org.hibernate.dialect.MariaDB103Dialect
|
||||
hibernate.dialect=org.hibernate.dialect.Oracle12cDialect
|
||||
|
||||
# Priority of the was -D option
|
||||
inst.Name=emsSvr96
|
||||
eai.tableowner=EMSADM
|
||||
# P/T/D/S
|
||||
eai.systemmode=L
|
||||
eai.drmode=N
|
||||
# black / blue / green / orange / yellow
|
||||
theme.color=yellow
|
||||
Reference in New Issue
Block a user