I'm trying to get <security:custom-authentication-provider> working with latest Spring 3 and Spring Security 3 releases without success.

This is how my -security.xml looks:

[code]
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns="http://www.springframework.org/schema/p"
xmlns:security="http://www.springframework.org/schema/security"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.0.xsd">

<!-- Configures the RPX authentication provider -->
<bean id="rpxAuthenticationProvider" class="com.footdex.web.authentication.preauth.RpxA uthenticationProvider">
<security:custom-authentication-provider />
</bean>
[code]

But when I start the app I get:

The matching wildcard is strict, but no declaration can be found for element 'security:custom-authentication-provider'

Namespace usage looks good.
Note that STS code assistant does not offer custom-authentication-provider for security namespace. Has something changes in Spring 3? Docs however still mention security:custom-authentication-provider.


Cheers,
Marcel