Spring Tool Suite
  1. Spring Tool Suite
  2. STS-3354

wrong warning for missing bean for Spring security

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The error was reported on the forum:
      http://forum.springsource.org/showthread.php?136895-Cannot-make-(seemingly-spurious)-warning-dissapear

      It seems that this Spring XML produces a wrong warning:

      <?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:security="http://www.springframework.org/schema/security"
      	xsi:schemaLocation="http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.1.xsd
      		http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">
      
      
      	<security:http auto-config="true">
      		<security:intercept-url pattern="/**"
      			access="isAuthenticated()" />
      	</security:http>
      	<security:authentication-manager>
      		<security:ldap-authentication-provider
      			user-search-base="cn=Users" user-search-filter="(uid={0})"
      			group-search-base="cn=FOOBARDEV,cn=Groups"
      			group-search-filter="(uniquemember={0})">
      		</security:ldap-authentication-provider>
      	</security:authentication-manager>
      	<security:ldap-server
      		url="ldap://foo.bar.net:9999/o=oracle,o=foo,dc=bar,dc=foo,dc=uk" />
      </beans>
      

      The wrong error message seems to be:

      Referenced bean 'org.springframework.security.securityContextSourc e' not found
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Martin Lippert (c)
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: