Announcement Announcement Module
Collapse
No announcement yet.
Spring 3 and <security:custom-authentication-provider> Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring 3 and <security:custom-authentication-provider>

    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

  • #2
    My answer is here:

    http://forum.springsource.org/showthread.php?t=76596

    But note that the 3.0 release pdf still contains a declarion of the <security:custom-authentication-provider /> within the bean on page 104.

    Comment

    Working...
    X