Revision 119:f33eafe10ef8
resources/spring-ldap.staging-ci.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> |
Also available in: Unified diff