Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 2.3.1.RELEASE
    • Component/s: None
    • Labels:
      None

      Description

      In the following example, STS creates the warning "Referenced bean 'authenticationManager' not found". The bean authenticationManager ist created with the namespace, so the warning is wrong.

      But STS doesn't create a warning for the missing bean "ds" in "sec:jdbc-user-service".

      <?xml version="1.0" encoding="UTF-8"?>
      <beans xmlns="http://www.springframework.org/schema/beans"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sec="http://www.springframework.org/schema/security"
          xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
      		http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.0.xsd">
       
          <bean class="somePackage.SomeClass">
              <property name="authenticationManager" ref="authenticationManager"/>
          </bean>
       
          <sec:authentication-manager alias="authenticationManager">
              <sec:authentication-provider>
                  <sec:jdbc-user-service data-source-ref="ds"/>
              </sec:authentication-provider>
          </sec:authentication-manager>
       
      </beans>

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            cdupuis Christian Dupuis
            Reporter:
            mwiesner Mike Wiesner
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: