cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [2/2] cxf git commit: Fixing failing jax-rs security tests
Date Thu, 13 Jul 2017 10:48:18 GMT
Fixing failing jax-rs security tests


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

Branch: refs/heads/master
Commit: 28aa1248b5be5555fb8a0cf52062a46b4123a105
Parents: 3779d24
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Thu Jul 13 11:48:05 2017 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Thu Jul 13 11:48:05 2017 +0100

----------------------------------------------------------------------
 .../org/apache/cxf/systest/jaxrs/security/saml/secureServer.xml   | 3 +++
 .../org/apache/cxf/systest/jaxrs/security/saml/server.xml         | 3 +++
 2 files changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/28aa1248/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/saml/secureServer.xml
----------------------------------------------------------------------
diff --git a/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/saml/secureServer.xml
b/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/saml/secureServer.xml
index 400bab8..6f90ed3 100644
--- a/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/saml/secureServer.xml
+++ b/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/saml/secureServer.xml
@@ -59,6 +59,7 @@ under the License.
         </jaxrs:providers>
         <jaxrs:properties>
             <entry key="security.enable.unsigned-saml-assertion.principal" value="true"/>
+            <entry key="security.audience-restrictions" value="https://sp.example.com/SAML2"/>
         </jaxrs:properties>
         <!-- If default role qualifier and format are not supported: 
        
@@ -96,6 +97,7 @@ under the License.
         </jaxrs:providers>
         <jaxrs:properties>
             <entry key="security.enable.unsigned-saml-assertion.principal" value="true"/>
+            <entry key="security.audience-restrictions" value="https://sp.example.com/SAML2"/>
         </jaxrs:properties>
     </jaxrs:server>
     <jaxrs:server address="https://localhost:${testutil.ports.jaxrs-saml}/saml-claims">
@@ -108,6 +110,7 @@ under the License.
         </jaxrs:providers>
         <jaxrs:properties>
             <entry key="security.enable.unsigned-saml-assertion.principal" value="true"/>
+            <entry key="security.audience-restrictions" value="https://sp.example.com/SAML2"/>
         </jaxrs:properties>
     </jaxrs:server>
 </beans>

http://git-wip-us.apache.org/repos/asf/cxf/blob/28aa1248/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/saml/server.xml
----------------------------------------------------------------------
diff --git a/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/saml/server.xml
b/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/saml/server.xml
index e717a12..d697c6d 100644
--- a/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/saml/server.xml
+++ b/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/saml/server.xml
@@ -51,6 +51,7 @@ under the License.
         </jaxrs:providers>
         <jaxrs:properties>
             <entry key="security.signature.properties" value="org/apache/cxf/systest/jaxrs/security/alice.properties"/>
+            <entry key="security.audience-restrictions" value="https://sp.example.com/SAML2"/>
         </jaxrs:properties>
     </jaxrs:server>
     <jaxrs:server address="https://localhost:${testutil.ports.jaxrs-saml}/samlform">
@@ -62,6 +63,7 @@ under the License.
         </jaxrs:providers>
         <jaxrs:properties>
             <entry key="security.signature.properties" value="org/apache/cxf/systest/jaxrs/security/alice.properties"/>
+            <entry key="security.audience-restrictions" value="https://sp.example.com/SAML2"/>
         </jaxrs:properties>
     </jaxrs:server>
     <jaxrs:server address="https://localhost:${testutil.ports.jaxrs-saml}/samlxml">
@@ -74,6 +76,7 @@ under the License.
         </jaxrs:providers>
         <jaxrs:properties>
             <entry key="security.signature.properties" value="org/apache/cxf/systest/jaxrs/security/alice.properties"/>
+            <entry key="security.audience-restrictions" value="https://sp.example.com/SAML2"/>
         </jaxrs:properties>
     </jaxrs:server>
 </beans>


Mime
View raw message