Benjamin Renard commited on 2014-12-11 13:53:35
Showing 1 changed files, with 3 additions and 4 deletions.
... | ... |
@@ -20,9 +20,6 @@ |
20 | 20 |
<!-- |
21 | 21 |
| LDAP authentication. |
22 | 22 |
+--> |
23 |
- <bean id="ldapHandler" class="org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler" lazy-init="true"> |
|
24 |
- <property name="filter" value="${ldap.basedn}" /> |
|
25 |
- <property name="contextSource"> |
|
26 | 23 |
<bean id="contextSource" class="org.springframework.ldap.core.support.LdapContextSource"> |
27 | 24 |
<property name="anonymousReadOnly" value="false" /> |
28 | 25 |
<property name="pooled" value="false" /> |
... | ... |
@@ -47,6 +44,8 @@ |
47 | 44 |
</map> |
48 | 45 |
</property> |
49 | 46 |
</bean> |
50 |
- </property> |
|
47 |
+ <bean id="ldapHandler" class="org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler" lazy-init="true"> |
|
48 |
+ <property name="filter" value="${ldap.basedn}" /> |
|
49 |
+ <property name="contextSource" ref="contextSource" /> |
|
51 | 50 |
</bean> |
52 | 51 |
</beans> |
53 | 52 |