I get several errros with the following applicationContext-security.xml, and particularly this one:
[/WEB-INF/applicationContext-security.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'ldap-authentication-provider'


<?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/security"
xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schem...-beans-3.0.xsd
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.0.xsd">
<global-method-security pre-post-annotations="enabled">
</global-method-security>
<http use-expressions="true">
<intercept-url pattern="/" access="permitAll" />
<intercept-url pattern="/entrar.jsp" filters="none" />
<intercept-url pattern="/files/**" filters="none" />
<intercept-url pattern="/sitemesh/**" filters="none" />
<intercept-url pattern="/**" access="isAuthenticated()" />
<form-login login-page="/entrar.jsp"
authentication-failure-url="/entrar.jsp?login_error=1" />
<logout />
</http>
<ldap-server url="ldap://ldap02.domain.net:389/o=company,c=net" />
<ldap-authentication-provider user-search-filter="(uid={0})" user-search-base="cn=theGroup,o=company,c=net" />
</beans:beans>

Regards.

MR