Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Spring 3.1 - Deprecated warnings in XML configuration file

  1. #11

    Default

    Yes, viewing the Dependency Hierarchy of my pom.xml in STS verifies that config-3.1.3.RELEASE is on my classpath (Screen Shot 2012-12-02 at 1.57.30 PM.jpg).

    The following code results in two deprecation messages:
    (1) Referenced bean 'org.springframework.security.securityContextSourc e' not found
    (2) Multiple annotations found at this line:
    - Referenced bean 'org.springframework.security.securityContextSourc e' not found
    - Method 'setRolePrefix' is marked deprecated

    Code:
    (1)    <authentication-manager xmlns="http://www.springframework.org/schema/security">
    		<ldap-authentication-provider user-search-base="cn=users" 
    							 user-search-filter="uid={0}" 
    							 group-search-base="cn=groups" 
    							 group-search-filter="member={0}"
    (2)							 role-prefix="none"/>
    	</authentication-manager>

  2. #12
    Join Date
    Jan 2008
    Posts
    1,826

    Default

    The first issue was already logged as SEC-2021. I created a JIRA for the second issue. Note that while annoying the deprecations are harmless since the Namespace support will be updated before the deprecations are removed.
    Rob Winch - @rob_winch
    Spring Security Lead
    Pivotal

  3. #13

    Default

    Got it, thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •