This commit is contained in:
Keith Donald
2008-10-20 15:36:28 +00:00
parent 7507cda621
commit 3d1fee3d36
2 changed files with 3 additions and 3 deletions

View File

@@ -45,6 +45,6 @@
<classpathentry kind="var" path="IVY_CACHE/org.springframework/org.springframework.web/2.5.5.A/org.springframework.web-2.5.5.A.jar" sourcepath="/IVY_CACHE/org.springframework/org.springframework.web/2.5.5.A/org.springframework.web-sources-2.5.5.A.jar"/>
<classpathentry kind="var" path="IVY_CACHE/org.springframework/org.springframework.web.servlet/2.5.5.A/org.springframework.web.servlet-2.5.5.A.jar" sourcepath="/IVY_CACHE/org.springframework/org.springframework.web.servlet/2.5.5.A/org.springframework.web.servlet-sources-2.5.5.A.jar"/>
<classpathentry kind="var" path="IVY_CACHE/org.springframework/org.springframework.web.portlet/2.5.5.A/org.springframework.web.portlet-2.5.5.A.jar" sourcepath="/IVY_CACHE/org.springframework/org.springframework.web.portlet/2.5.5.A/org.springframework.web.portlet-sources-2.5.5.A.jar"/>
<classpathentry kind="var" path="IVY_CACHE/org.springframework.security/org.springframework.security/2.0.2.A/org.springframework.security-2.0.2.A.jar" sourcepath="/IVY_CACHE/org.springframework.security/org.springframework.security/2.0.2.A/org.springframework.security-sources-2.0.2.A.jar"/>
<classpathentry kind="var" path="IVY_CACHE/org.springframework.security/org.springframework.security/2.0.4.A/org.springframework.security-2.0.4.A.jar" sourcepath="/IVY_CACHE/org.springframework.security/org.springframework.security/2.0.4.A/org.springframework.security-sources-2.0.4.A.jar"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>

View File

@@ -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);
}
}