Results 1 to 4 of 4

Thread: Spring Security for Spring 2.5.1?

  1. #1
    Join Date
    Aug 2007
    Posts
    15

    Default Spring Security for Spring 2.5.1?

    I have an application that depends on the Axis2-Spring integration (1.4.1). This results in a transient dependency on Spring 2.5.1. Trying to mix in other versions of Spring causes NoSuchMethodErrors when using AOP.

    Is there a version of Spring Security that will work with Spring 2.5.1? Or is it possible to configure the current version to work? I really want to use Spring Security!

  2. #2
    Join Date
    May 2007
    Location
    Rome
    Posts
    67

    Default

    What you could try is to use exclusions in Maven to see what could potentially conflict with your configuration.

  3. #3
    Luke Taylor is offline Senior Member Acegi Security System TeamSpring Team
    Join Date
    Aug 2004
    Location
    Glasgow, Scotland
    Posts
    3,449

    Default

    Upgrade to Spring 2.5.6.
    Spring - by Pivotal
    twitter @tekul

  4. #4
    Join Date
    Aug 2007
    Posts
    15

    Default Exclusions seem to work

    Thanks for the input - I definitely want to upgrade to the latest version. In the meantime, the following exclusions got my application running:

    <dependency>
    <groupId>org.springframework.security</groupId>
    <artifactId>spring-security-acl</artifactId>
    <version>2.0.4</version>
    <exclusions>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>spring-jdbc</artifactId>
    </exclusion>
    </exclusions>
    </dependency>
    <dependency>
    <groupId>org.springframework.security</groupId>
    <artifactId>spring-security-core-tiger</artifactId>
    <version>2.0.4</version>
    <exclusions>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>spring-aop</artifactId>
    </exclusion>
    </exclusions>
    </dependency>

Posting Permissions

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