m2u-upass-admin / resource / spring-ldap.maybank-dev.xml @ 151:a88b09ea76c3
History | View | Annotate | Download (1.06 KB)
1 | 138:c7659b3ef38e | hadi | <?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> |