Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-3354

wrong warning for missing bean for Spring security

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • 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

        Hide
        mlippert Martin Lippert added a comment -

        This project has moved its issue management to GitHub Issues:
        https://github.com/spring-projects/spring-ide/issues

        Therefore we closed the majority of old issues, like this one here. If you think this issue is still valid and should be fixed or worked on, please feel free to file it as a new issue on GitHub (using the link above).

        Show
        mlippert Martin Lippert added a comment - This project has moved its issue management to GitHub Issues: https://github.com/spring-projects/spring-ide/issues Therefore we closed the majority of old issues, like this one here. If you think this issue is still valid and should be fixed or worked on, please feel free to file it as a new issue on GitHub (using the link above).

          People

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

            Dates

            • Created:
              Updated:
              Resolved: