From 3d1fee3d3651f452cc13008fea95e12f27e16fc6 Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Mon, 20 Oct 2008 15:36:28 +0000 Subject: [PATCH] 2.0.4.A --- spring-webflow/.classpath | 2 +- .../webflow/security/SecurityFlowExecutionListenerTests.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-webflow/.classpath b/spring-webflow/.classpath index 1b91c7ed..a7706a2d 100644 --- a/spring-webflow/.classpath +++ b/spring-webflow/.classpath @@ -45,6 +45,6 @@ - + diff --git a/spring-webflow/src/test/java/org/springframework/webflow/security/SecurityFlowExecutionListenerTests.java b/spring-webflow/src/test/java/org/springframework/webflow/security/SecurityFlowExecutionListenerTests.java index 517cb1c1..77b1d514 100644 --- a/spring-webflow/src/test/java/org/springframework/webflow/security/SecurityFlowExecutionListenerTests.java +++ b/spring-webflow/src/test/java/org/springframework/webflow/security/SecurityFlowExecutionListenerTests.java @@ -12,7 +12,7 @@ import org.springframework.security.GrantedAuthorityImpl; import org.springframework.security.context.SecurityContext; import org.springframework.security.context.SecurityContextHolder; import org.springframework.security.context.SecurityContextImpl; -import org.springframework.security.providers.TestingAuthenticationToken; +import org.springframework.security.providers.UsernamePasswordAuthenticationToken; import org.springframework.webflow.core.collection.LocalAttributeMap; import org.springframework.webflow.definition.FlowDefinition; import org.springframework.webflow.engine.Flow; @@ -157,6 +157,6 @@ public class SecurityFlowExecutionListenerTests extends TestCase { private Authentication getAuthentication() { GrantedAuthority[] authorities = { new GrantedAuthorityImpl("ROLE_1"), new GrantedAuthorityImpl("ROLE_2"), new GrantedAuthorityImpl("ROLE_3") }; - return new TestingAuthenticationToken("test", "", authorities); + return new UsernamePasswordAuthenticationToken("test", "", authorities); } }