Announcement Announcement Module
Collapse
No announcement yet.
Custom Authentication Provider and User Details Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    security.xml

    I've created a extended class of 创DaoAuthenticationProvider创 and initialized in security.xml:

    <bean id="myAuthenticationProvider" class="es.gva.cit.terceros.security.provider.MyAut henticationProvider">
    <security:custom-authentication-provider />
    </bean>

    But the definition of bean can't be accessible because of:

    SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'

    What can I do to declare the bean element in the 创security.xml创 file?
    Where I have to declare the new bean? And if i have to add this new bean to a 创authenticationManager创 bean and declare it too.

    Comment

    Working...
    X