Repository: cxf Updated Branches: refs/heads/3.0.x-fixes ff2987db4 -> 1c046386a
Fixing tests Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/1c046386 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/1c046386 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/1c046386 Branch: refs/heads/3.0.x-fixes Commit: 1c046386a9e50257371df81e18a3a04a782463e0 Parents: ff2987d Author: Colm O hEigeartaigh <[email protected]> Authored: Fri Jan 16 15:43:39 2015 +0000 Committer: Colm O hEigeartaigh <[email protected]> Committed: Fri Jan 16 17:01:26 2015 +0000 ---------------------------------------------------------------------- .../java/org/apache/cxf/systest/sts/issueunit/IssueUnitTest.java | 3 ++- .../org/apache/cxf/systest/sts/username_actas/cxf-service.xml | 1 + .../apache/cxf/systest/sts/username_onbehalfof/cxf-service.xml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/1c046386/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/issueunit/IssueUnitTest.java ---------------------------------------------------------------------- diff --git a/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/issueunit/IssueUnitTest.java b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/issueunit/IssueUnitTest.java index 4374acd..34578c3 100644 --- a/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/issueunit/IssueUnitTest.java +++ b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/issueunit/IssueUnitTest.java @@ -561,7 +561,8 @@ public class IssueUnitTest extends AbstractBusClientServerTestBase { WebServiceContextImpl webServiceContext = new WebServiceContextImpl(msgCtx); parameters.setWebServiceContext(webServiceContext); - parameters.setAppliesToAddress("http://dummy-service.com/dummy"); + parameters.setAppliesToAddress( + "https://localhost:" + STSPORT + "/SecurityTokenService/b-issuer/Transport"); // Add STSProperties object StaticSTSProperties stsProperties = new StaticSTSProperties(); http://git-wip-us.apache.org/repos/asf/cxf/blob/1c046386/services/sts/systests/basic/src/test/resources/org/apache/cxf/systest/sts/username_actas/cxf-service.xml ---------------------------------------------------------------------- diff --git a/services/sts/systests/basic/src/test/resources/org/apache/cxf/systest/sts/username_actas/cxf-service.xml b/services/sts/systests/basic/src/test/resources/org/apache/cxf/systest/sts/username_actas/cxf-service.xml index 6d9a1fb..cb76c26 100644 --- a/services/sts/systests/basic/src/test/resources/org/apache/cxf/systest/sts/username_actas/cxf-service.xml +++ b/services/sts/systests/basic/src/test/resources/org/apache/cxf/systest/sts/username_actas/cxf-service.xml @@ -65,6 +65,7 @@ <bean class="org.apache.cxf.systest.sts.username_actas.ActAsValidator"/> </entry> <entry key="ws-security.is-bsp-compliant" value="false"/> + <entry key="ws-security.validate.audience-restriction" value="false"/> </jaxws:properties> </jaxws:endpoint> <jaxws:endpoint xmlns:s="http://www.example.org/contract/DoubleIt" id="doubleitasymmetricsaml2bearer5" implementor="org.apache.cxf.systest.sts.common.DoubleItPortTypeImpl" endpointName="s:DoubleItAsymmetricSAML2BearerPort5" serviceName="s:DoubleItService" address="http://localhost:${testutil.ports.Server}/doubleit/services/doubleitasymmetricsaml2bearer5" wsdlLocation="org/apache/cxf/systest/sts/username_actas/DoubleIt.wsdl"> http://git-wip-us.apache.org/repos/asf/cxf/blob/1c046386/services/sts/systests/basic/src/test/resources/org/apache/cxf/systest/sts/username_onbehalfof/cxf-service.xml ---------------------------------------------------------------------- diff --git a/services/sts/systests/basic/src/test/resources/org/apache/cxf/systest/sts/username_onbehalfof/cxf-service.xml b/services/sts/systests/basic/src/test/resources/org/apache/cxf/systest/sts/username_onbehalfof/cxf-service.xml index 8a66267..d3965d0 100644 --- a/services/sts/systests/basic/src/test/resources/org/apache/cxf/systest/sts/username_onbehalfof/cxf-service.xml +++ b/services/sts/systests/basic/src/test/resources/org/apache/cxf/systest/sts/username_onbehalfof/cxf-service.xml @@ -65,6 +65,7 @@ <bean class="org.apache.cxf.systest.sts.intermediary_transformation.OnBehalfOfValidator"/> </entry> <entry key="ws-security.is-bsp-compliant" value="false"/> + <entry key="ws-security.validate.audience-restriction" value="false"/> </jaxws:properties> </jaxws:endpoint> <jaxws:endpoint xmlns:s="http://www.example.org/contract/DoubleIt" id="doubleitasymmetricsaml2bearer5" implementor="org.apache.cxf.systest.sts.common.DoubleItPortTypeImpl" endpointName="s:DoubleItOBOAsymmetricSAML2BearerPort5" serviceName="s:DoubleItService" address="http://localhost:${testutil.ports.Server}/doubleit/services/doubleitasymmetricsaml2bearerobo5" wsdlLocation="org/apache/cxf/systest/sts/username_onbehalfof/DoubleIt.wsdl">
