Permalink
Browse files

update to spring snapshot dependencies

  • Loading branch information...
1 parent 4c50d1f commit ea6b4447704c98d5f01a2f38067b2bca2d2ff934 @rwinch rwinch committed Nov 5, 2012
View
@@ -5,6 +5,7 @@ dependencies {
'aopalliance:aopalliance:1.0',
"net.sf.ehcache:ehcache:$ehcacheVersion",
"org.springframework:spring-aop:$springVersion",
+ "org.springframework:spring-beans:$springVersion",
"org.springframework:spring-context:$springVersion",
"org.springframework:spring-tx:$springVersion",
"org.springframework:spring-jdbc:$springVersion"
View
@@ -9,7 +9,7 @@ allprojects {
group = 'org.springframework.security'
repositories {
- mavenCentral()
+ maven { url "http://repo.springsource.org/libs-snapshot" }
}
}
@@ -22,7 +22,7 @@
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 {
// Check Spring Compatibility
@@ -4,7 +4,7 @@ apply plugin: 'eclipse'
sourceCompatibility = 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.ehcacheVersion = '1.6.2'
ext.aspectjVersion = '1.6.10'
@@ -85,6 +85,12 @@ def customizePom(pom, gradleProject) {
email = 'rwinch@vmware.com'
}
}
+ repositories {
+ repository {
+ id 'spring-snapshot'
+ url 'http://repo.springsource.org/libs-snapshot'
+ }
+ }
dependencies {
dependency {
artifactId = groupId = 'commons-logging'
@@ -35,6 +35,7 @@
import javax.security.auth.login.AppConfigurationEntry.LoginModuleControlFlag;
import javax.security.auth.login.Configuration;
import javax.security.auth.login.LoginContext;
+import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
@@ -191,7 +192,7 @@ public void doFilterAuthenticationNull() throws Exception {
private void assertJaasSubjectEquals(final Subject expectedValue) throws Exception {
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
Subject currentSubject = Subject.getSubject(AccessController.getContext());
assertEquals(expectedValue, currentSubject);

0 comments on commit ea6b444

Please sign in to comment.