Revision 137:5a146099297b

View differences:

resource/spring-ldap.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "http://www.springframework.org/dtd/spring-beans-2.0.dtd">
3
<beans>
4
    <bean id="contextSource" class="org.springframework.ldap.core.support.LdapContextSource">
5
        <property name="url" value="ldap://172.31.11.36:389" />
6
        <!-- property name="url" value="ldaps://172.31.11.36:636" /-->
7
        <property name="userDn" value="cn=Directory Manager" />
8
        <property name="password" value="password" />
9
    </bean>
10
    <bean id="ldapTemplate" class="org.springframework.ldap.core.LdapTemplate">
11
        <constructor-arg ref="contextSource" />
12
    </bean>
13
    <bean id="maybankLdap" class="my.com.upass.spring.ldap.MaybankLdapDAOImpl">
14
        <property name="ldapTemplate" ref="ldapTemplate" />
15
        <property name="base" value="ou=People,o=maybank"/>
16
        <property name="usernameAttrName" value="mbbuserid"/>
17
        <property name="baseTicketing" value="ou=WebLogic,o=maybank"/>
18
        <property name="uidAttrName" value="uid"/>
19
    </bean>
20
</beans>
resource/upassMin.dev-penril.properties
1
# NOTE:
2
# Make sure there is no tailing space at the parameter, eg "...=3" and not "...=3  "
3
# Tailing space will cause "ERR: property Not Found" exception.
4

  
5
# Database Connection Info for testing
6
#DB_DRIVER=oracle.jdbc.driver.OracleDriver
7
DB_DRIVER=com.microsoft.sqlserver.jdbc.SQLServerDriver
8
#DB_URL=jdbc:oracle:thin:@demosvr1.penril.net:12311:IBSDEMO
9
DB_URL=jdbc:sqlserver://demosvr1.penril.net:1433;databaseName=xxxxib
10
#DB_URL=jdbc:oracle:thin:@localhost:1521:XE
11
DB_USERNAME=xxxx_ib
12
DB_PASSWORD=123456
13

  
14
# Database Connection info for JNDI
15
# org.jboss.resource.adapter.jdbc.jdk5.WrappedConnectionJDK5@bb2f6e
16
DB_USE_JNDI=N
17
DB_DATASRC_REF=java:OracleUpassDS
18

  
19
# Flag to get parameters from Database
20
DB_USE_SETTING=1
21

  
22
# Migration period flag
23
MIGRATION_PERIOD=N
resource/upassMin.maybank-dev-jndi.properties
1
# NOTE:
2
# Make sure there is no tailing space at the parameter, eg "...=3" and not "...=3  "
3
# Tailing space will cause "ERR: property Not Found" exception.
4

  
5
# Flag to get parameters from Database
6
DB_USE_SETTING=1
7

  
8
# Migration period flag
9
MIGRATION_PERIOD=Y
resource/upassMin.maybank-prod-jndi.properties
1
# NOTE:
2
# Make sure there is no tailing space at the parameter, eg "...=3" and not "...=3  "
3
# Tailing space will cause "ERR: property Not Found" exception.
4

  
5
# Flag to get parameters from Database
6
DB_USE_SETTING=1
7

  
8
# Migration period flag
9
MIGRATION_PERIOD=Y
resource/upassMin.properties
1
# NOTE:
2
# Make sure there is no tailing space at the parameter, eg "...=3" and not "...=3  "
3
# Tailing space will cause "ERR: property Not Found" exception.
4

  
5
# Flag to get parameters from Database
6
DB_USE_SETTING=1
7

  
8
# Migration period flag
9
MIGRATION_PERIOD=Y
resource/upassMin.staging-ci.properties
1
# NOTE:
2
# Make sure there is no tailing space at the parameter, eg "...=3" and not "...=3  "
3
# Tailing space will cause "ERR: property Not Found" exception.
4

  
5
# Flag to get parameters from Database
6
DB_USE_SETTING=1
7

  
8
# Migration period flag
9
MIGRATION_PERIOD=N

Also available in: Unified diff