You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2016/01/18 18:29:32 UTC

[2/2] cxf-fediz git commit: Minor changes

Minor changes


Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/7584a0c3
Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/7584a0c3
Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/7584a0c3

Branch: refs/heads/1.2.x-fixes
Commit: 7584a0c30c9f8fddfff52560d8db884a73b00451
Parents: 06d062b
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Mon Jan 18 17:26:35 2016 +0000
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Mon Jan 18 17:28:52 2016 +0000

----------------------------------------------------------------------
 .../apache/cxf/fediz/integrationtests/AbstractTests.java    | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/7584a0c3/systests/tests/src/test/java/org/apache/cxf/fediz/integrationtests/AbstractTests.java
----------------------------------------------------------------------
diff --git a/systests/tests/src/test/java/org/apache/cxf/fediz/integrationtests/AbstractTests.java b/systests/tests/src/test/java/org/apache/cxf/fediz/integrationtests/AbstractTests.java
index 3648f5e..c008556 100644
--- a/systests/tests/src/test/java/org/apache/cxf/fediz/integrationtests/AbstractTests.java
+++ b/systests/tests/src/test/java/org/apache/cxf/fediz/integrationtests/AbstractTests.java
@@ -48,12 +48,7 @@ import org.junit.Assert;
 import org.junit.Test;
 
 public abstract class AbstractTests {
-    
-    static final String TEST_WREQ = 
-        "<RequestSecurityToken xmlns=\"http://docs.oasis-open.org/ws-sx/ws-trust/200512\">"
-        + "<TokenType>http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV3.0</TokenType>"
-        + "</RequestSecurityToken>";
-    
+
     static {
         WSSConfig.init();
     }
@@ -626,7 +621,7 @@ public abstract class AbstractTests {
     
     @Test
     public void testEntityExpansionAttack() throws Exception {
-        String url = "https://localhost:" + getRpHttpsPort() + "/fedizhelloworld/secure/fedservlet";
+        String url = "https://localhost:" + getRpHttpsPort() + "/" + getServletContextName() + "/secure/fedservlet";
         String user = "alice";
         String password = "ecila";