update to spring snapshot dependencies

This commit is contained in:
Rob Winch 2012-11-05 12:05:41 -06:00
parent 4c50d1f5de
commit ea6b444770
6 changed files with 12 additions and 4 deletions

View File

@ -5,6 +5,7 @@ dependencies {
'aopalliance:aopalliance:1.0', 'aopalliance:aopalliance:1.0',
"net.sf.ehcache:ehcache:$ehcacheVersion", "net.sf.ehcache:ehcache:$ehcacheVersion",
"org.springframework:spring-aop:$springVersion", "org.springframework:spring-aop:$springVersion",
"org.springframework:spring-beans:$springVersion",
"org.springframework:spring-context:$springVersion", "org.springframework:spring-context:$springVersion",
"org.springframework:spring-tx:$springVersion", "org.springframework:spring-tx:$springVersion",
"org.springframework:spring-jdbc:$springVersion" "org.springframework:spring-jdbc:$springVersion"

View File

@ -9,7 +9,7 @@ allprojects {
group = 'org.springframework.security' group = 'org.springframework.security'
repositories { repositories {
mavenCentral() maven { url "http://repo.springsource.org/libs-snapshot" }
} }
} }

View File

@ -22,7 +22,7 @@ public class SpringSecurityCoreVersion {
static final String SPRING_MAJOR_VERSION = "3"; static final String SPRING_MAJOR_VERSION = "3";
static final String MIN_SPRING_VERSION = "3.0.7.RELEASE"; static final String MIN_SPRING_VERSION = "3.2.0.BUILD-SNAPSHOT";
static { static {
// Check Spring Compatibility // Check Spring Compatibility

View File

@ -4,7 +4,7 @@ apply plugin: 'eclipse'
sourceCompatibility = 1.5 sourceCompatibility = 1.5
targetCompatibility = 1.5 targetCompatibility = 1.5
ext.springVersion = '3.0.7.RELEASE' ext.springVersion = '3.2.0.BUILD-SNAPSHOT'
ext.springLdapVersion = '1.3.1.RELEASE' ext.springLdapVersion = '1.3.1.RELEASE'
ext.ehcacheVersion = '1.6.2' ext.ehcacheVersion = '1.6.2'
ext.aspectjVersion = '1.6.10' ext.aspectjVersion = '1.6.10'

View File

@ -85,6 +85,12 @@ def customizePom(pom, gradleProject) {
email = 'rwinch@vmware.com' email = 'rwinch@vmware.com'
} }
} }
repositories {
repository {
id 'spring-snapshot'
url 'http://repo.springsource.org/libs-snapshot'
}
}
dependencies { dependencies {
dependency { dependency {
artifactId = groupId = 'commons-logging' artifactId = groupId = 'commons-logging'

View File

@ -35,6 +35,7 @@ import javax.security.auth.login.AppConfigurationEntry;
import javax.security.auth.login.AppConfigurationEntry.LoginModuleControlFlag; import javax.security.auth.login.AppConfigurationEntry.LoginModuleControlFlag;
import javax.security.auth.login.Configuration; import javax.security.auth.login.Configuration;
import javax.security.auth.login.LoginContext; import javax.security.auth.login.LoginContext;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest; import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse; import javax.servlet.ServletResponse;
@ -191,7 +192,7 @@ public class JaasApiIntegrationFilterTests {
private void assertJaasSubjectEquals(final Subject expectedValue) throws Exception { private void assertJaasSubjectEquals(final Subject expectedValue) throws Exception {
MockFilterChain chain = new MockFilterChain() { MockFilterChain chain = new MockFilterChain() {
public void doFilter(ServletRequest request, ServletResponse response) { public void doFilter(ServletRequest request, ServletResponse response) throws IOException, ServletException {
// See if the subject was updated // See if the subject was updated
Subject currentSubject = Subject.getSubject(AccessController.getContext()); Subject currentSubject = Subject.getSubject(AccessController.getContext());
assertEquals(expectedValue, currentSubject); assertEquals(expectedValue, currentSubject);