Author: coheigea
Date: Fri Apr 13 12:12:00 2012
New Revision: 1325729
URL: http://svn.apache.org/viewvc?rev=1325729&view=rev
Log:
Fixing failing STS interop test with the metro STS
Modified:
cxf/trunk/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/intermediary_transformation/IntermediaryCachingPortTypeImpl.java
Modified:
cxf/trunk/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/intermediary_transformation/IntermediaryCachingPortTypeImpl.java
URL:
http://svn.apache.org/viewvc/cxf/trunk/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/intermediary_transformation/IntermediaryCachingPortTypeImpl.java?rev=1325729&r1=1325728&r2=1325729&view=diff
==============================================================================
---
cxf/trunk/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/intermediary_transformation/IntermediaryCachingPortTypeImpl.java
(original)
+++
cxf/trunk/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/intermediary_transformation/IntermediaryCachingPortTypeImpl.java
Fri Apr 13 12:12:00 2012
@@ -87,7 +87,7 @@ public class IntermediaryCachingPortType
Assert.assertNotNull("Principal must not be null", pr);
Assert.assertNotNull("Principal.getName() must not return null",
pr.getName());
- Assert.assertEquals("Princiapl must be alice", "alice", pr.getName());
+ Assert.assertTrue("Principal must be alice",
pr.getName().contains("alice"));
// Disable the STSClient after the first invocation
if (i > 0) {