Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D2FA7200BB1 for ; Thu, 3 Nov 2016 18:30:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D14F6160AE5; Thu, 3 Nov 2016 17:30:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6351D160AFF for ; Thu, 3 Nov 2016 18:30:02 +0100 (CET) Received: (qmail 36674 invoked by uid 500); 3 Nov 2016 17:30:01 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 36400 invoked by uid 99); 3 Nov 2016 17:30:01 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2016 17:30:01 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 42147E38F9; Thu, 3 Nov 2016 17:30:01 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: coheigea@apache.org To: commits@cxf.apache.org Date: Thu, 03 Nov 2016 17:30:05 -0000 Message-Id: <7935e0d702874f4f9c2e2b88d5e06510@git.apache.org> In-Reply-To: <9a7e9c2824c441bd8638170c5aec6764@git.apache.org> References: <9a7e9c2824c441bd8638170c5aec6764@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [5/5] cxf-fediz git commit: Folded SAML SSO federation tests in with WS-Federation archived-at: Thu, 03 Nov 2016 17:30:05 -0000 Folded SAML SSO federation tests in with WS-Federation Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/6fef44bb Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/6fef44bb Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/6fef44bb Branch: refs/heads/master Commit: 6fef44bb12531ca8de279275ed2d33fdbe50e3a2 Parents: ce2cc78 Author: Colm O hEigeartaigh Authored: Thu Nov 3 17:29:40 2016 +0000 Committer: Colm O hEigeartaigh Committed: Thu Nov 3 17:29:40 2016 +0000 ---------------------------------------------------------------------- systests/federation/pom.xml | 1 - systests/federation/samlsso/pom.xml | 330 ------------ .../cxf/fediz/integrationtests/SAMLSSOTest.java | 382 -------------- .../src/test/resources/entities-realma.xml | 518 ------------------- .../test/resources/fediz_config_saml_sso.xml | 116 ----- .../test/resources/realmb/entities-realmb.xml | 423 --------------- .../src/test/resources/realmb/idp-servlet.xml | 120 ----- .../resources/realmb/persistence.properties | 15 - .../src/test/resources/realmb/realm.properties | 6 - .../test/resources/realmb/security-config.xml | 135 ----- systests/federation/wsfed/pom.xml | 10 + .../cxf/fediz/integrationtests/WSFedTest.java | 225 +++++++- .../src/test/resources/fediz_config_wsfed.xml | 92 +++- .../test/resources/realma/entities-realma.xml | 61 ++- .../test/resources/realmb/entities-realmb.xml | 8 +- .../src/test/resources/realmb/idp-servlet.xml | 4 + .../test/resources/realmb/security-config.xml | 26 + 17 files changed, 409 insertions(+), 2063 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/6fef44bb/systests/federation/pom.xml ---------------------------------------------------------------------- diff --git a/systests/federation/pom.xml b/systests/federation/pom.xml index 26a0549..b158064 100644 --- a/systests/federation/pom.xml +++ b/systests/federation/pom.xml @@ -33,7 +33,6 @@ samlIdpWebapp oidcIdpWebapp - samlsso oidc wsfed http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/6fef44bb/systests/federation/samlsso/pom.xml ---------------------------------------------------------------------- diff --git a/systests/federation/samlsso/pom.xml b/systests/federation/samlsso/pom.xml deleted file mode 100644 index da610a7..0000000 --- a/systests/federation/samlsso/pom.xml +++ /dev/null @@ -1,330 +0,0 @@ - - - - 4.0.0 - - org.apache.cxf.fediz.systests - fediz-systests-federation - 1.3.2-SNAPSHOT - ../pom.xml - - org.apache.cxf.fediz.systests.federation - fediz-systests-federation-samlsso - Apache Fediz Federation Systests Tomcat 7 SAML SSO - jar - - UTF-8 - UTF-8 - - - - org.apache.tomcat.embed - tomcat-embed-core - ${tomcat7.version} - test - - - org.apache.tomcat.embed - tomcat-embed-logging-juli - ${tomcat7.version} - test - - - org.eclipse.jdt.core.compiler - ecj - ${ecj.version} - test - - - org.apache.tomcat.embed - tomcat-embed-jasper - ${tomcat7.version} - test - - - junit - junit - ${junit.version} - test - - - org.apache.cxf.fediz - fediz-tomcat7 - ${project.version} - test - - - org.apache.cxf.fediz.systests - fediz-systests-tests - ${project.version} - test-jar - test - - - org.slf4j - slf4j-api - ${slf4j.version} - test - - - org.slf4j - slf4j-jdk14 - ${slf4j.version} - test - - - org.hsqldb - hsqldb - ${hsqldb.version} - test - - - - - - src/test/resources - true - - **/fediz_config*.xml - - - - src/test/resources - false - - **/fediz_config*.xml - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - reserve-network-port - - reserve-network-port - - initialize - - - idp.https.port - idp.samlsso.https.port - idp.realmb.https.port - rp.https.port - - - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - copy-idp-sts - generate-resources - - unpack - - - - - org.apache.cxf.fediz - fediz-idp - ${project.version} - war - true - target/tomcat/idp/webapps/fediz-idp - - - org.apache.cxf.fediz - fediz-idp-sts - ${project.version} - war - true - target/tomcat/idp/webapps/fediz-idp-sts - - - org.apache.cxf.fediz.systests.federation - fediz-systests-federation-samlIdpWebapp - ${project.version} - war - true - target/tomcat/idpsamlsso/webapps/idpsaml - - - org.apache.cxf.fediz.systests.webapps - fediz-systests-webapps-simple - ${project.version} - war - true - target/tomcat/rp/webapps/simpleWebapp - - - org.apache.cxf.fediz - fediz-idp - ${project.version} - war - true - target/tomcat/idprealmb/webapps/fediz-idp-realmb - - - org.apache.cxf.fediz - fediz-idp-sts - ${project.version} - war - true - target/tomcat/idprealmb/webapps/fediz-idp-sts-realmb - - - org.apache.cxf.fediz.systests - fediz-systests-tests - ${project.version} - tests - jar - true - target/test-classes - **/*.jks - - - true - true - true - true - - - - - - maven-resources-plugin - 2.7 - - - copy-entities-to-idp - generate-test-sources - - copy-resources - - - ${basedir}/target/tomcat/idp/webapps/fediz-idp/WEB-INF/classes - - - ${basedir}/src/test/resources - - entities-realma.xml - - true - - - - - - copy-entities-to-remote-idp - generate-test-sources - - copy-resources - - - ${basedir}/target/tomcat/idprealmb/webapps/fediz-idp-realmb/WEB-INF/classes - - - ${basedir}/src/test/resources/realmb - - entities-realmb.xml - realm.properties - persistence.properties - - true - - - - - - copy-entities-to-remote-idp2 - generate-test-sources - - copy-resources - - - ${basedir}/target/tomcat/idprealmb/webapps/fediz-idp-realmb/WEB-INF - - - ${basedir}/src/test/resources/realmb - - idp-servlet.xml - security-config.xml - - true - - - - - - - - maven-failsafe-plugin - true - - - integration-test - integration-test - - integration-test - - - ${skipTests} - - true - ${idp.https.port} - ${idp.samlsso.https.port} - ${idp.realmb.https.port} - ${rp.https.port} - - - **/integrationtests/** - - -Xms512m -Xmx1024m - -XX:MaxPermSize=256m - - - - verify - verify - - verify - - - - - - org.apache.maven.plugins - maven-surefire-plugin - true - - - **/integrationtests/** - - - - - - http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/6fef44bb/systests/federation/samlsso/src/test/java/org/apache/cxf/fediz/integrationtests/SAMLSSOTest.java ---------------------------------------------------------------------- diff --git a/systests/federation/samlsso/src/test/java/org/apache/cxf/fediz/integrationtests/SAMLSSOTest.java b/systests/federation/samlsso/src/test/java/org/apache/cxf/fediz/integrationtests/SAMLSSOTest.java deleted file mode 100644 index 0f67fc7..0000000 --- a/systests/federation/samlsso/src/test/java/org/apache/cxf/fediz/integrationtests/SAMLSSOTest.java +++ /dev/null @@ -1,382 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.cxf.fediz.integrationtests; - - -import java.io.File; -import java.io.IOException; - -import javax.servlet.ServletException; - -import org.w3c.dom.Document; -import org.w3c.dom.Element; -import org.w3c.dom.Node; - -import com.gargoylesoftware.htmlunit.CookieManager; -import com.gargoylesoftware.htmlunit.WebClient; -import com.gargoylesoftware.htmlunit.html.HtmlForm; -import com.gargoylesoftware.htmlunit.html.HtmlPage; -import com.gargoylesoftware.htmlunit.html.HtmlSubmitInput; -import com.gargoylesoftware.htmlunit.xml.XmlPage; - -import org.apache.catalina.Context; -import org.apache.catalina.LifecycleException; -import org.apache.catalina.LifecycleState; -import org.apache.catalina.connector.Connector; -import org.apache.catalina.startup.Tomcat; -import org.apache.cxf.fediz.core.ClaimTypes; -import org.apache.cxf.fediz.core.util.DOMUtils; -import org.apache.cxf.fediz.tomcat7.FederationAuthenticator; -import org.apache.http.auth.AuthScope; -import org.apache.http.auth.UsernamePasswordCredentials; -import org.apache.xml.security.keys.KeyInfo; -import org.apache.xml.security.signature.XMLSignature; -import org.junit.AfterClass; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.junit.Test; - -/** - * This is a test for federation using SAML SSO in the IdP. The RP application is configured to use a home realm - * which is different to that of the IdP ("realm a"). The IdP for realm "a" then redirects the client to the - * relevant IdP, which is a SAML SSO IdP. Two different third party IdPs are used - a mock SAML SSO IdP, which - * supports both the redirect and POST bindings, as well as the Fediz IdP itself. - */ -public class SAMLSSOTest { - - static String idpHttpsPort; - static String idpSamlSSOHttpsPort; - static String rpHttpsPort; - static String idpRealmbHttpsPort; - - private static Tomcat idpServer; - private static Tomcat idpSamlSSOServer; - private static Tomcat idpRealmbServer; - private static Tomcat rpServer; - - @BeforeClass - public static void init() throws Exception { - System.setProperty("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.SimpleLog"); - System.setProperty("org.apache.commons.logging.simplelog.showdatetime", "true"); - System.setProperty("org.apache.commons.logging.simplelog.log.httpclient.wire", "info"); - System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.commons.httpclient", "info"); - System.setProperty("org.apache.commons.logging.simplelog.log.org.springframework.webflow", "info"); - System.setProperty("org.apache.commons.logging.simplelog.log.org.springframework.security.web", "info"); - System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.cxf.fediz", "info"); - System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.cxf", "info"); - - idpHttpsPort = System.getProperty("idp.https.port"); - Assert.assertNotNull("Property 'idp.https.port' null", idpHttpsPort); - idpSamlSSOHttpsPort = System.getProperty("idp.samlsso.https.port"); - Assert.assertNotNull("Property 'idp.samlsso.https.port' null", idpSamlSSOHttpsPort); - idpRealmbHttpsPort = System.getProperty("idp.realmb.https.port"); - Assert.assertNotNull("Property 'idp.realmb.https.port' null", idpRealmbHttpsPort); - rpHttpsPort = System.getProperty("rp.https.port"); - Assert.assertNotNull("Property 'rp.https.port' null", rpHttpsPort); - - idpServer = startServer(true, false, false, idpHttpsPort); - idpSamlSSOServer = startServer(false, true, false, idpSamlSSOHttpsPort); - idpRealmbServer = startServer(false, false, true, idpRealmbHttpsPort); - rpServer = startServer(false, false, false, rpHttpsPort); - } - - private static Tomcat startServer(boolean idp, boolean samlSSOIdP, boolean realmb, String port) - throws ServletException, LifecycleException, IOException { - Tomcat server = new Tomcat(); - server.setPort(0); - String currentDir = new File(".").getCanonicalPath(); - String baseDir = currentDir + File.separator + "target"; - server.setBaseDir(baseDir); - - if (idp) { - server.getHost().setAppBase("tomcat/idp/webapps"); - } else if (samlSSOIdP) { - server.getHost().setAppBase("tomcat/idpsamlsso/webapps"); - } else if (realmb) { - server.getHost().setAppBase("tomcat/idprealmb/webapps"); - } else { - server.getHost().setAppBase("tomcat/rp/webapps"); - } - server.getHost().setAutoDeploy(true); - server.getHost().setDeployOnStartup(true); - - Connector httpsConnector = new Connector(); - httpsConnector.setPort(Integer.parseInt(port)); - httpsConnector.setSecure(true); - httpsConnector.setScheme("https"); - //httpsConnector.setAttribute("keyAlias", keyAlias); - httpsConnector.setAttribute("keystorePass", "tompass"); - httpsConnector.setAttribute("keystoreFile", "test-classes/server.jks"); - httpsConnector.setAttribute("truststorePass", "tompass"); - httpsConnector.setAttribute("truststoreFile", "test-classes/server.jks"); - httpsConnector.setAttribute("clientAuth", "want"); - // httpsConnector.setAttribute("clientAuth", "false"); - httpsConnector.setAttribute("sslProtocol", "TLS"); - httpsConnector.setAttribute("SSLEnabled", true); - - server.getService().addConnector(httpsConnector); - - if (idp) { - File stsWebapp = new File(baseDir + File.separator + server.getHost().getAppBase(), "fediz-idp-sts"); - server.addWebapp("/fediz-idp-sts", stsWebapp.getAbsolutePath()); - - File idpWebapp = new File(baseDir + File.separator + server.getHost().getAppBase(), "fediz-idp"); - server.addWebapp("/fediz-idp", idpWebapp.getAbsolutePath()); - } else if (samlSSOIdP) { - File idpWebapp = new File(baseDir + File.separator + server.getHost().getAppBase(), "idpsaml"); - server.addWebapp("/idp", idpWebapp.getAbsolutePath()); - } else if (realmb) { - File stsWebapp = new File(baseDir + File.separator + server.getHost().getAppBase(), "fediz-idp-sts-realmb"); - server.addWebapp("/fediz-idp-sts-realmb", stsWebapp.getAbsolutePath()); - - File idpWebapp = new File(baseDir + File.separator + server.getHost().getAppBase(), "fediz-idp-realmb"); - server.addWebapp("/fediz-idp-realmb", idpWebapp.getAbsolutePath()); - } else { - File rpWebapp = new File(baseDir + File.separator + server.getHost().getAppBase(), "simpleWebapp"); - Context cxt = server.addWebapp("/fedizhelloworld", rpWebapp.getAbsolutePath()); - - FederationAuthenticator fa = new FederationAuthenticator(); - fa.setConfigFile(currentDir + File.separator + "target" + File.separator - + "test-classes" + File.separator + "fediz_config_saml_sso.xml"); - cxt.getPipeline().addValve(fa); - - File rpWebapp2 = new File(baseDir + File.separator + server.getHost().getAppBase(), "simpleWebapp"); - cxt = server.addWebapp("/fedizhelloworld-post-binding", rpWebapp2.getAbsolutePath()); - cxt.getPipeline().addValve(fa); - - File rpWebapp3 = new File(baseDir + File.separator + server.getHost().getAppBase(), "simpleWebapp"); - cxt = server.addWebapp("/fedizhelloworld3", rpWebapp3.getAbsolutePath()); - cxt.getPipeline().addValve(fa); - } - - server.start(); - - return server; - } - - - @AfterClass - public static void cleanup() { - shutdownServer(idpServer); - shutdownServer(idpSamlSSOServer); - shutdownServer(idpRealmbServer); - shutdownServer(rpServer); - } - - private static void shutdownServer(Tomcat server) { - try { - if (server != null && server.getServer() != null - && server.getServer().getState() != LifecycleState.DESTROYED) { - if (server.getServer().getState() != LifecycleState.STOPPED) { - server.stop(); - } - server.destroy(); - } - } catch (Exception e) { - e.printStackTrace(); - } - } - - public String getIdpHttpsPort() { - return idpHttpsPort; - } - - public String getRpHttpsPort() { - return rpHttpsPort; - } - - public String getServletContextName() { - return "fedizhelloworld"; - } - - public String getIdpRealmbHttpsPort() { - return idpRealmbHttpsPort; - } - - @org.junit.Test - public void testSAMLSSO() throws Exception { - String url = "https://localhost:" + getRpHttpsPort() + "/fedizhelloworld/secure/fedservlet"; - // System.out.println("URL: " + url); - // Thread.sleep(60 * 2 * 1000); - String user = "ALICE"; // realm b credentials - String password = "ECILA"; - - final String bodyTextContent = - login(url, user, password, idpSamlSSOHttpsPort, idpHttpsPort, false); - - Assert.assertTrue("Principal not alice", - bodyTextContent.contains("userPrincipal=alice")); - Assert.assertTrue("User " + user + " does not have role Admin", - bodyTextContent.contains("role:Admin=false")); - Assert.assertTrue("User " + user + " does not have role Manager", - bodyTextContent.contains("role:Manager=false")); - Assert.assertTrue("User " + user + " must have role User", - bodyTextContent.contains("role:User=true")); - - String claim = ClaimTypes.FIRSTNAME.toString(); - Assert.assertTrue("User " + user + " claim " + claim + " is not 'Alice'", - bodyTextContent.contains(claim + "=Alice")); - claim = ClaimTypes.LASTNAME.toString(); - Assert.assertTrue("User " + user + " claim " + claim + " is not 'Smith'", - bodyTextContent.contains(claim + "=Smith")); - claim = ClaimTypes.EMAILADDRESS.toString(); - Assert.assertTrue("User " + user + " claim " + claim + " is not 'alice@realma.org'", - bodyTextContent.contains(claim + "=alice@realma.org")); - } - - @org.junit.Test - public void testSAMLSSOPostBinding() throws Exception { - String url = "https://localhost:" + getRpHttpsPort() + "/fedizhelloworld-post-binding/secure/fedservlet"; - // System.out.println("URL: " + url); - // Thread.sleep(60 * 2 * 1000); - String user = "ALICE"; // realm b credentials - String password = "ECILA"; - - final String bodyTextContent = - login(url, user, password, idpSamlSSOHttpsPort, idpHttpsPort, true); - - Assert.assertTrue("Principal not alice", - bodyTextContent.contains("userPrincipal=alice")); - Assert.assertTrue("User " + user + " does not have role Admin", - bodyTextContent.contains("role:Admin=false")); - Assert.assertTrue("User " + user + " does not have role Manager", - bodyTextContent.contains("role:Manager=false")); - Assert.assertTrue("User " + user + " must have role User", - bodyTextContent.contains("role:User=true")); - - String claim = ClaimTypes.FIRSTNAME.toString(); - Assert.assertTrue("User " + user + " claim " + claim + " is not 'Alice'", - bodyTextContent.contains(claim + "=Alice")); - claim = ClaimTypes.LASTNAME.toString(); - Assert.assertTrue("User " + user + " claim " + claim + " is not 'Smith'", - bodyTextContent.contains(claim + "=Smith")); - claim = ClaimTypes.EMAILADDRESS.toString(); - Assert.assertTrue("User " + user + " claim " + claim + " is not 'alice@realma.org'", - bodyTextContent.contains(claim + "=alice@realma.org")); - } - - @Test - public void testIdPServiceMetadata() throws Exception { - String url = "https://localhost:" + getIdpHttpsPort() - + "/fediz-idp/metadata/urn:org:apache:cxf:fediz:idp:realm-B"; - - final WebClient webClient = new WebClient(); - webClient.getOptions().setUseInsecureSSL(true); - webClient.getOptions().setSSLClientCertificate( - this.getClass().getClassLoader().getResource("client.jks"), "storepass", "jks"); - - final XmlPage rpPage = webClient.getPage(url); - final String xmlContent = rpPage.asXml(); - Assert.assertTrue(xmlContent.startsWith(" - - - - - - - - - - - - - - - - http://docs.oasis-open.org/wsfed/federation/200706 - - http://docs.oasis-open.org/ws-sx/ws-trust/200512 - - - - - - urn:oasis:names:tc:SAML:1.0:assertion - urn:oasis:names:tc:SAML:2.0:assertion - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/6fef44bb/systests/federation/samlsso/src/test/resources/fediz_config_saml_sso.xml ---------------------------------------------------------------------- diff --git a/systests/federation/samlsso/src/test/resources/fediz_config_saml_sso.xml b/systests/federation/samlsso/src/test/resources/fediz_config_saml_sso.xml deleted file mode 100644 index 5109172..0000000 --- a/systests/federation/samlsso/src/test/resources/fediz_config_saml_sso.xml +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - urn:org:apache:cxf:fediz:fedizhelloworld - - - - - - - - - - 1000 - - urn:org:apache:cxf:fediz:fedizhelloworld - https://localhost:${idp.https.port}/fediz-idp/federation - , - http://schemas.xmlsoap.org/ws/2005/05/identity/claims/role - 10 - urn:org:apache:cxf:fediz:idp:realm-B - - - - - /secure/logout - /index.html - - - - urn:org:apache:cxf:fediz:fedizhelloworld - - - - - - - - - - 1000 - - urn:org:apache:cxf:fediz:fedizhelloworld - https://localhost:${idp.https.port}/fediz-idp/federation - , - http://schemas.xmlsoap.org/ws/2005/05/identity/claims/role - 10 - urn:org:apache:cxf:fediz:idp:realm-C - - - - - /secure/logout - /index.html - - - - urn:org:apache:cxf:fediz:fedizhelloworld - - - - - - - - - - 1000 - - urn:org:apache:cxf:fediz:fedizhelloworld - https://localhost:${idp.https.port}/fediz-idp/federation - , - http://schemas.xmlsoap.org/ws/2005/05/identity/claims/role - 10 - urn:org:apache:cxf:fediz:idp:realm-D - - - - - /secure/logout - /index.html - - - http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/6fef44bb/systests/federation/samlsso/src/test/resources/realmb/entities-realmb.xml ---------------------------------------------------------------------- diff --git a/systests/federation/samlsso/src/test/resources/realmb/entities-realmb.xml b/systests/federation/samlsso/src/test/resources/realmb/entities-realmb.xml deleted file mode 100644 index 9984af1..0000000 --- a/systests/federation/samlsso/src/test/resources/realmb/entities-realmb.xml +++ /dev/null @@ -1,423 +0,0 @@ - - - - - - - - - - - - - - - - urn:oasis:names:tc:SAML:2.0:profiles:SSO:browser - - http://docs.oasis-open.org/ws-sx/ws-trust/200512 - - - - - - urn:oasis:names:tc:SAML:1.0:assertion - urn:oasis:names:tc:SAML:2.0:assertion - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -