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 2015/10/20 15:00:51 UTC
[1/5] cxf git commit: Fixing merge
Repository: cxf
Updated Branches:
refs/heads/3.0.x-fixes 14fcfdfba -> a33cd57e1
Fixing merge
Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/a33cd57e
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/a33cd57e
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/a33cd57e
Branch: refs/heads/3.0.x-fixes
Commit: a33cd57e1e76b2b4e6a326d065e4795157da69a6
Parents: 23fdf2e
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Tue Oct 20 14:00:30 2015 +0100
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Tue Oct 20 14:00:45 2015 +0100
----------------------------------------------------------------------
.../apache/cxf/systest/wssec/examples/saml/client.xml | 11 ++---------
.../cxf/systest/wssec/examples/sts/cxf-symmetric.xml | 7 +------
2 files changed, 3 insertions(+), 15 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cxf/blob/a33cd57e/systests/ws-security-examples/src/test/resources/org/apache/cxf/systest/wssec/examples/saml/client.xml
----------------------------------------------------------------------
diff --git a/systests/ws-security-examples/src/test/resources/org/apache/cxf/systest/wssec/examples/saml/client.xml b/systests/ws-security-examples/src/test/resources/org/apache/cxf/systest/wssec/examples/saml/client.xml
index a4ac603..82f7704 100644
--- a/systests/ws-security-examples/src/test/resources/org/apache/cxf/systest/wssec/examples/saml/client.xml
+++ b/systests/ws-security-examples/src/test/resources/org/apache/cxf/systest/wssec/examples/saml/client.xml
@@ -110,17 +110,10 @@
<property name="endpointName" value="{http://docs.oasis-open.org/ws-sx/ws-trust/200512/}Symmetric_Port"/>
<property name="properties">
<map>
-<<<<<<< HEAD
<entry key="ws-security.username" value="alice"/>
<entry key="ws-security.callback-handler" value="org.apache.cxf.systest.wssec.examples.common.CommonPasswordCallback"/>
- <entry key="ws-security.encryption.properties" value="alice.properties"/>
- <entry key="ws-security.encryption.username" value="cxfca"/>
-=======
- <entry key="security.username" value="alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.wssec.examples.common.CommonPasswordCallback"/>
- <entry key="security.encryption.properties" value="sts.properties"/>
- <entry key="security.encryption.username" value="sts"/>
->>>>>>> 62d70e9... Updating systest keys from 1024 bit to 2048 bits
+ <entry key="ws-security.encryption.properties" value="sts.properties"/>
+ <entry key="ws-security.encryption.username" value="sts"/>
</map>
</property>
</bean>
http://git-wip-us.apache.org/repos/asf/cxf/blob/a33cd57e/systests/ws-security-examples/src/test/resources/org/apache/cxf/systest/wssec/examples/sts/cxf-symmetric.xml
----------------------------------------------------------------------
diff --git a/systests/ws-security-examples/src/test/resources/org/apache/cxf/systest/wssec/examples/sts/cxf-symmetric.xml b/systests/ws-security-examples/src/test/resources/org/apache/cxf/systest/wssec/examples/sts/cxf-symmetric.xml
index c654ab0..070e3f6 100644
--- a/systests/ws-security-examples/src/test/resources/org/apache/cxf/systest/wssec/examples/sts/cxf-symmetric.xml
+++ b/systests/ws-security-examples/src/test/resources/org/apache/cxf/systest/wssec/examples/sts/cxf-symmetric.xml
@@ -50,13 +50,8 @@
</bean>
<jaxws:endpoint xmlns:ns1="http://docs.oasis-open.org/ws-sx/ws-trust/200512/" id="SymmetricSTS" implementor="#symmetricSTSProviderBean" address="http://localhost:${testutil.ports.sts.STSServer}/SecurityTokenService/Symmetric" wsdlLocation="src/test/resources/org/apache/cxf/systest/wssec/examples/sts/ws-trust-1.4-service.wsdl" serviceName="ns1:SecurityTokenService" endpointName="ns1:Symmetric_Port">
<jaxws:properties>
-<<<<<<< HEAD
<entry key="ws-security.callback-handler" value="org.apache.cxf.systest.wssec.examples.common.CommonPasswordCallback"/>
- <entry key="ws-security.signature.properties" value="cxfca.properties"/>
-=======
- <entry key="security.callback-handler" value="org.apache.cxf.systest.wssec.examples.common.CommonPasswordCallback"/>
- <entry key="security.signature.properties" value="sts.properties"/>
->>>>>>> 62d70e9... Updating systest keys from 1024 bit to 2048 bits
+ <entry key="ws-security.signature.properties" value="sts.properties"/>
</jaxws:properties>
</jaxws:endpoint>
</beans>
[4/5] cxf git commit: Recording .gitmergeinfo Changes
Posted by co...@apache.org.
Recording .gitmergeinfo Changes
Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/23fdf2e5
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/23fdf2e5
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/23fdf2e5
Branch: refs/heads/3.0.x-fixes
Commit: 23fdf2e5c611a1e758ac055e5d5b7e0456276b0a
Parents: 15b1671
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Tue Oct 20 13:03:54 2015 +0100
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Tue Oct 20 14:00:45 2015 +0100
----------------------------------------------------------------------
.gitmergeinfo | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cxf/blob/23fdf2e5/.gitmergeinfo
----------------------------------------------------------------------
diff --git a/.gitmergeinfo b/.gitmergeinfo
index 75c9c03..c66796e 100644
--- a/.gitmergeinfo
+++ b/.gitmergeinfo
@@ -540,6 +540,7 @@ M 4715a0ddce4864bbf6e1c34a7a1cd9508a52d9cd
M 4772f956294ef139cb9993bd5aeaf7a4cb239dbb
M 47b57d723f1468e9d9650617a6013edf4f965900
M 4915ce370e5f1905f77ebecc8883cc86fcc3e4f4
+M 498a3c2f415c119cd82e1e5779eee4e103755a89
M 49a5e392144d9137bf47c574e701334ff6c41779
M 4a292c0cc49c0c4eef5d50efc78a499c7a5e1783
M 4ba52d10601f19b852b3e7f88942d1fc33d56113
@@ -571,6 +572,7 @@ M 5e97d1e29e85d80f0679748cc4df0d8e0647ee16
M 5fbe7b49b88deff15f755c15f5a4c421943acc4f
M 6129ec5f6735a986660a2d05c6b3b0c9230610d9
M 6292346fb110f0517b791f91d03fd2515d575388
+M 62d70e977895ae06494730d4f4f04282f0bbeb9e
M 64368a5ddad507fa5d7016cbd07f3e9b5b5fd594
M 65654316c43ba94b97e9ad164224191561652f81
M 66a8177301f663ee8e635dea395eed2adf0a4751
[3/5] cxf git commit: Updating systest keys from 1024 bit to 2048 bits
Posted by co...@apache.org.
Updating systest keys from 1024 bit to 2048 bits
Conflicts:
systests/ws-security-examples/src/test/resources/org/apache/cxf/systest/wssec/examples/saml/client.xml
systests/ws-security-examples/src/test/resources/org/apache/cxf/systest/wssec/examples/sts/cxf-symmetric.xml
Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/5b81488c
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/5b81488c
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/5b81488c
Branch: refs/heads/3.0.x-fixes
Commit: 5b81488ce7d3e3273d406da4e61fdb5f8fc0733f
Parents: 14fcfdf
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Tue Oct 20 12:05:55 2015 +0100
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Tue Oct 20 14:00:45 2015 +0100
----------------------------------------------------------------------
rt/ws/security/src/test/resources/alice.jks | Bin 1861 -> 3984 bytes
rt/ws/security/src/test/resources/cxfca.jks | Bin 1306 -> 891 bytes
systests/kerberos/src/test/resources/alice.jks | Bin 2428 -> 3984 bytes
systests/kerberos/src/test/resources/bob.jks | Bin 2422 -> 3979 bytes
.../cxf/systest/jaxrs/security/certs/alice.jks | Bin 2428 -> 3984 bytes
.../cxf/systest/jaxrs/security/certs/bob.jks | Bin 2422 -> 3979 bytes
.../cxf/systest/jaxrs/security/certs/cxfca.jks | Bin 1306 -> 891 bytes
.../jaxrs/security/certs/jwkPublicSet.txt | 4 ++--
.../src/test/resources/keys/alice.jks | Bin 2428 -> 3984 bytes
.../src/test/resources/keys/bob.jks | Bin 2422 -> 3979 bytes
.../src/test/resources/keys/cxfca.jks | Bin 1306 -> 891 bytes
.../src/test/resources/keys/alice.jks | Bin 2428 -> 3984 bytes
.../transports/src/test/resources/keys/bob.jks | Bin 2422 -> 3979 bytes
.../src/test/resources/keys/cxfca.jks | Bin 1306 -> 891 bytes
.../ws-rm/src/test/resources/certs/alice.jks | Bin 2428 -> 3984 bytes
systests/ws-rm/src/test/resources/certs/bob.jks | Bin 2422 -> 3979 bytes
.../examples/common/CommonPasswordCallback.java | 1 +
.../src/test/resources/alice.jks | Bin 2428 -> 3984 bytes
.../src/test/resources/bob.jks | Bin 2422 -> 3979 bytes
.../src/test/resources/cxfca.jks | Bin 1306 -> 891 bytes
.../cxf/systest/wssec/examples/saml/client.xml | 7 +++++++
.../wssec/examples/sts/cxf-symmetric.xml | 9 ++++++--
.../src/test/resources/sts.jks | Bin 0 -> 3980 bytes
.../src/test/resources/sts.properties | 21 +++++++++++++++++++
.../src/test/resources/certs/alice.jks | Bin 2428 -> 3984 bytes
.../src/test/resources/certs/bob.jks | Bin 2422 -> 3979 bytes
.../src/test/resources/certs/cxfca.jks | Bin 1306 -> 891 bytes
.../src/test/resources/certs/xkms/bob.crt | Bin 540 -> 932 bytes
.../resources/certs/xkms/trusted_cas/cxfca.crt | Bin 537 -> 829 bytes
.../cxf/systest/ws/action/bob-modified.jks | Bin 0 -> 2422 bytes
.../systest/ws/action/bob-modified.properties | 21 +++++++++++++++++++
.../cxf/systest/ws/action/signature-server.xml | 3 ++-
32 files changed, 61 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/rt/ws/security/src/test/resources/alice.jks
----------------------------------------------------------------------
diff --git a/rt/ws/security/src/test/resources/alice.jks b/rt/ws/security/src/test/resources/alice.jks
index 3a788c2..9b8c450 100644
Binary files a/rt/ws/security/src/test/resources/alice.jks and b/rt/ws/security/src/test/resources/alice.jks differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/rt/ws/security/src/test/resources/cxfca.jks
----------------------------------------------------------------------
diff --git a/rt/ws/security/src/test/resources/cxfca.jks b/rt/ws/security/src/test/resources/cxfca.jks
index accd45b..2473611 100644
Binary files a/rt/ws/security/src/test/resources/cxfca.jks and b/rt/ws/security/src/test/resources/cxfca.jks differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/kerberos/src/test/resources/alice.jks
----------------------------------------------------------------------
diff --git a/systests/kerberos/src/test/resources/alice.jks b/systests/kerberos/src/test/resources/alice.jks
index 9f47a5c..9b8c450 100644
Binary files a/systests/kerberos/src/test/resources/alice.jks and b/systests/kerberos/src/test/resources/alice.jks differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/kerberos/src/test/resources/bob.jks
----------------------------------------------------------------------
diff --git a/systests/kerberos/src/test/resources/bob.jks b/systests/kerberos/src/test/resources/bob.jks
index 26df583..6744c7c 100644
Binary files a/systests/kerberos/src/test/resources/bob.jks and b/systests/kerberos/src/test/resources/bob.jks differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/certs/alice.jks
----------------------------------------------------------------------
diff --git a/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/certs/alice.jks b/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/certs/alice.jks
index 9f47a5c..9b8c450 100644
Binary files a/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/certs/alice.jks and b/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/certs/alice.jks differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/certs/bob.jks
----------------------------------------------------------------------
diff --git a/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/certs/bob.jks b/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/certs/bob.jks
index 26df583..6744c7c 100644
Binary files a/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/certs/bob.jks and b/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/certs/bob.jks differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/certs/cxfca.jks
----------------------------------------------------------------------
diff --git a/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/certs/cxfca.jks b/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/certs/cxfca.jks
index accd45b..2473611 100644
Binary files a/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/certs/cxfca.jks and b/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/certs/cxfca.jks differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/certs/jwkPublicSet.txt
----------------------------------------------------------------------
diff --git a/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/certs/jwkPublicSet.txt b/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/certs/jwkPublicSet.txt
index e8c30d9..87f5733 100644
--- a/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/certs/jwkPublicSet.txt
+++ b/systests/rs-security/src/test/resources/org/apache/cxf/systest/jaxrs/security/certs/jwkPublicSet.txt
@@ -16,7 +16,7 @@
"kty":"RSA",
"kid":"AliceCert",
"x5c": [
- "MIICGjCCAYOgAwIBAgIESVRgATANBgkqhkiG9w0BAQUFADAzMRMwEQYDVQQKEwphcGFjaGUub3JnMQwwCgYDVQQLEwNlbmcxDjAMBgNVBAMTBWN4ZmNhMB4XDTcwMDEwMTAwMDAwMFoXDTM4MDExOTAzMTQwN1owMzETMBEGA1UEChMKYXBhY2hlLm9yZzEMMAoGA1UECxMDZW5nMQ4wDAYDVQQDEwVhbGljZTCBnzANBgkq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ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFFEs/7YrIfooE4HF8GgOoZ+N84rbMGMGA1UdIwRcMFqAFH/f+Z8qbl9897ey6PEEaZL49rhjoTekNTAzMRMwEQYDVQQKDAphcGFjaGUub3JnMQwwCgYDVQQLDANlbmcxDjAMBgNVBAMMBWN4ZmNhggkA6/E5WtiHMWgwDQYJKoZIhvcNAQELBQADggEBAEdkew5qevvF0ZcY1LWIoCcvRZwDxxJKJuNCIl25sx9iH+PLm9BZ6Dy/13gckAgguGCHkOAR3+JRnWSnjK
w6s7uw+o8m4cIbVn3sOtJ7L5bMn4cmm4+WeQqEdQQncr1t5Q6xT6zgGTGQcnj1bxPmdrUVoCaoaGizdH9KwLOxSVR3LSZFNg3Z+g2DYNgf0B4rsUGv08Lub3tZ+G38q4r+qmjPceQy7oPA5M5aaKwRoxc66Ek+adkE+ESZb0CfiGq6PxSCxlp0i1tzXYxUE8YcgsOEN+OvCBHUh/GNqp68xBDKtkLkGzpBu8B8SPYrZ9CJH3v9pU8Y2cmv0d1i4o4z/eA="
]
}
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/transports-ssl3/src/test/resources/keys/alice.jks
----------------------------------------------------------------------
diff --git a/systests/transports-ssl3/src/test/resources/keys/alice.jks b/systests/transports-ssl3/src/test/resources/keys/alice.jks
index 9f47a5c..9b8c450 100644
Binary files a/systests/transports-ssl3/src/test/resources/keys/alice.jks and b/systests/transports-ssl3/src/test/resources/keys/alice.jks differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/transports-ssl3/src/test/resources/keys/bob.jks
----------------------------------------------------------------------
diff --git a/systests/transports-ssl3/src/test/resources/keys/bob.jks b/systests/transports-ssl3/src/test/resources/keys/bob.jks
index 26df583..6744c7c 100644
Binary files a/systests/transports-ssl3/src/test/resources/keys/bob.jks and b/systests/transports-ssl3/src/test/resources/keys/bob.jks differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/transports-ssl3/src/test/resources/keys/cxfca.jks
----------------------------------------------------------------------
diff --git a/systests/transports-ssl3/src/test/resources/keys/cxfca.jks b/systests/transports-ssl3/src/test/resources/keys/cxfca.jks
index accd45b..2473611 100644
Binary files a/systests/transports-ssl3/src/test/resources/keys/cxfca.jks and b/systests/transports-ssl3/src/test/resources/keys/cxfca.jks differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/transports/src/test/resources/keys/alice.jks
----------------------------------------------------------------------
diff --git a/systests/transports/src/test/resources/keys/alice.jks b/systests/transports/src/test/resources/keys/alice.jks
index 9f47a5c..9b8c450 100644
Binary files a/systests/transports/src/test/resources/keys/alice.jks and b/systests/transports/src/test/resources/keys/alice.jks differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/transports/src/test/resources/keys/bob.jks
----------------------------------------------------------------------
diff --git a/systests/transports/src/test/resources/keys/bob.jks b/systests/transports/src/test/resources/keys/bob.jks
index 26df583..6744c7c 100644
Binary files a/systests/transports/src/test/resources/keys/bob.jks and b/systests/transports/src/test/resources/keys/bob.jks differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/transports/src/test/resources/keys/cxfca.jks
----------------------------------------------------------------------
diff --git a/systests/transports/src/test/resources/keys/cxfca.jks b/systests/transports/src/test/resources/keys/cxfca.jks
index accd45b..2473611 100644
Binary files a/systests/transports/src/test/resources/keys/cxfca.jks and b/systests/transports/src/test/resources/keys/cxfca.jks differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/ws-rm/src/test/resources/certs/alice.jks
----------------------------------------------------------------------
diff --git a/systests/ws-rm/src/test/resources/certs/alice.jks b/systests/ws-rm/src/test/resources/certs/alice.jks
index 9f47a5c..9b8c450 100644
Binary files a/systests/ws-rm/src/test/resources/certs/alice.jks and b/systests/ws-rm/src/test/resources/certs/alice.jks differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/ws-rm/src/test/resources/certs/bob.jks
----------------------------------------------------------------------
diff --git a/systests/ws-rm/src/test/resources/certs/bob.jks b/systests/ws-rm/src/test/resources/certs/bob.jks
index 26df583..6744c7c 100644
Binary files a/systests/ws-rm/src/test/resources/certs/bob.jks and b/systests/ws-rm/src/test/resources/certs/bob.jks differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/ws-security-examples/src/test/java/org/apache/cxf/systest/wssec/examples/common/CommonPasswordCallback.java
----------------------------------------------------------------------
diff --git a/systests/ws-security-examples/src/test/java/org/apache/cxf/systest/wssec/examples/common/CommonPasswordCallback.java b/systests/ws-security-examples/src/test/java/org/apache/cxf/systest/wssec/examples/common/CommonPasswordCallback.java
index 21545a2..6c77186 100644
--- a/systests/ws-security-examples/src/test/java/org/apache/cxf/systest/wssec/examples/common/CommonPasswordCallback.java
+++ b/systests/ws-security-examples/src/test/java/org/apache/cxf/systest/wssec/examples/common/CommonPasswordCallback.java
@@ -42,6 +42,7 @@ public class CommonPasswordCallback implements CallbackHandler {
passwords.put("alice", "password");
passwords.put("bob", "password");
passwords.put("cxfca", "password");
+ passwords.put("sts", "password");
}
/**
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/ws-security-examples/src/test/resources/alice.jks
----------------------------------------------------------------------
diff --git a/systests/ws-security-examples/src/test/resources/alice.jks b/systests/ws-security-examples/src/test/resources/alice.jks
index b22a384..9b8c450 100644
Binary files a/systests/ws-security-examples/src/test/resources/alice.jks and b/systests/ws-security-examples/src/test/resources/alice.jks differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/ws-security-examples/src/test/resources/bob.jks
----------------------------------------------------------------------
diff --git a/systests/ws-security-examples/src/test/resources/bob.jks b/systests/ws-security-examples/src/test/resources/bob.jks
index f652913..6744c7c 100644
Binary files a/systests/ws-security-examples/src/test/resources/bob.jks and b/systests/ws-security-examples/src/test/resources/bob.jks differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/ws-security-examples/src/test/resources/cxfca.jks
----------------------------------------------------------------------
diff --git a/systests/ws-security-examples/src/test/resources/cxfca.jks b/systests/ws-security-examples/src/test/resources/cxfca.jks
index accd45b..2473611 100644
Binary files a/systests/ws-security-examples/src/test/resources/cxfca.jks and b/systests/ws-security-examples/src/test/resources/cxfca.jks differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/ws-security-examples/src/test/resources/org/apache/cxf/systest/wssec/examples/saml/client.xml
----------------------------------------------------------------------
diff --git a/systests/ws-security-examples/src/test/resources/org/apache/cxf/systest/wssec/examples/saml/client.xml b/systests/ws-security-examples/src/test/resources/org/apache/cxf/systest/wssec/examples/saml/client.xml
index c4e324a..a4ac603 100644
--- a/systests/ws-security-examples/src/test/resources/org/apache/cxf/systest/wssec/examples/saml/client.xml
+++ b/systests/ws-security-examples/src/test/resources/org/apache/cxf/systest/wssec/examples/saml/client.xml
@@ -110,10 +110,17 @@
<property name="endpointName" value="{http://docs.oasis-open.org/ws-sx/ws-trust/200512/}Symmetric_Port"/>
<property name="properties">
<map>
+<<<<<<< HEAD
<entry key="ws-security.username" value="alice"/>
<entry key="ws-security.callback-handler" value="org.apache.cxf.systest.wssec.examples.common.CommonPasswordCallback"/>
<entry key="ws-security.encryption.properties" value="alice.properties"/>
<entry key="ws-security.encryption.username" value="cxfca"/>
+=======
+ <entry key="security.username" value="alice"/>
+ <entry key="security.callback-handler" value="org.apache.cxf.systest.wssec.examples.common.CommonPasswordCallback"/>
+ <entry key="security.encryption.properties" value="sts.properties"/>
+ <entry key="security.encryption.username" value="sts"/>
+>>>>>>> 62d70e9... Updating systest keys from 1024 bit to 2048 bits
</map>
</property>
</bean>
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/ws-security-examples/src/test/resources/org/apache/cxf/systest/wssec/examples/sts/cxf-symmetric.xml
----------------------------------------------------------------------
diff --git a/systests/ws-security-examples/src/test/resources/org/apache/cxf/systest/wssec/examples/sts/cxf-symmetric.xml b/systests/ws-security-examples/src/test/resources/org/apache/cxf/systest/wssec/examples/sts/cxf-symmetric.xml
index 38a8510..c654ab0 100644
--- a/systests/ws-security-examples/src/test/resources/org/apache/cxf/systest/wssec/examples/sts/cxf-symmetric.xml
+++ b/systests/ws-security-examples/src/test/resources/org/apache/cxf/systest/wssec/examples/sts/cxf-symmetric.xml
@@ -41,8 +41,8 @@
<value>http://localhost:(\d)*/DoubleItSamlSymmetricIssuedToken</value>
</util:list>
<bean id="symmetricSTSProperties" class="org.apache.cxf.sts.StaticSTSProperties">
- <property name="signaturePropertiesFile" value="cxfca.properties"/>
- <property name="signatureUsername" value="cxfca"/>
+ <property name="signaturePropertiesFile" value="sts.properties"/>
+ <property name="signatureUsername" value="sts"/>
<property name="callbackHandlerClass" value="org.apache.cxf.systest.wssec.examples.common.CommonPasswordCallback"/>
<property name="encryptionPropertiesFile" value="bob.properties"/>
<property name="issuer" value="DoubleItSTSIssuer"/>
@@ -50,8 +50,13 @@
</bean>
<jaxws:endpoint xmlns:ns1="http://docs.oasis-open.org/ws-sx/ws-trust/200512/" id="SymmetricSTS" implementor="#symmetricSTSProviderBean" address="http://localhost:${testutil.ports.sts.STSServer}/SecurityTokenService/Symmetric" wsdlLocation="src/test/resources/org/apache/cxf/systest/wssec/examples/sts/ws-trust-1.4-service.wsdl" serviceName="ns1:SecurityTokenService" endpointName="ns1:Symmetric_Port">
<jaxws:properties>
+<<<<<<< HEAD
<entry key="ws-security.callback-handler" value="org.apache.cxf.systest.wssec.examples.common.CommonPasswordCallback"/>
<entry key="ws-security.signature.properties" value="cxfca.properties"/>
+=======
+ <entry key="security.callback-handler" value="org.apache.cxf.systest.wssec.examples.common.CommonPasswordCallback"/>
+ <entry key="security.signature.properties" value="sts.properties"/>
+>>>>>>> 62d70e9... Updating systest keys from 1024 bit to 2048 bits
</jaxws:properties>
</jaxws:endpoint>
</beans>
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/ws-security-examples/src/test/resources/sts.jks
----------------------------------------------------------------------
diff --git a/systests/ws-security-examples/src/test/resources/sts.jks b/systests/ws-security-examples/src/test/resources/sts.jks
new file mode 100644
index 0000000..3cdccfe
Binary files /dev/null and b/systests/ws-security-examples/src/test/resources/sts.jks differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/ws-security-examples/src/test/resources/sts.properties
----------------------------------------------------------------------
diff --git a/systests/ws-security-examples/src/test/resources/sts.properties b/systests/ws-security-examples/src/test/resources/sts.properties
new file mode 100644
index 0000000..678eda2
--- /dev/null
+++ b/systests/ws-security-examples/src/test/resources/sts.properties
@@ -0,0 +1,21 @@
+# 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.
+org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
+org.apache.ws.security.crypto.merlin.keystore.type=jks
+org.apache.ws.security.crypto.merlin.keystore.password=password
+org.apache.ws.security.crypto.merlin.keystore.alias=sts
+org.apache.ws.security.crypto.merlin.keystore.file=sts.jks
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/ws-security/src/test/resources/certs/alice.jks
----------------------------------------------------------------------
diff --git a/systests/ws-security/src/test/resources/certs/alice.jks b/systests/ws-security/src/test/resources/certs/alice.jks
index 9f47a5c..9b8c450 100644
Binary files a/systests/ws-security/src/test/resources/certs/alice.jks and b/systests/ws-security/src/test/resources/certs/alice.jks differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/ws-security/src/test/resources/certs/bob.jks
----------------------------------------------------------------------
diff --git a/systests/ws-security/src/test/resources/certs/bob.jks b/systests/ws-security/src/test/resources/certs/bob.jks
index 26df583..6744c7c 100644
Binary files a/systests/ws-security/src/test/resources/certs/bob.jks and b/systests/ws-security/src/test/resources/certs/bob.jks differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/ws-security/src/test/resources/certs/cxfca.jks
----------------------------------------------------------------------
diff --git a/systests/ws-security/src/test/resources/certs/cxfca.jks b/systests/ws-security/src/test/resources/certs/cxfca.jks
index accd45b..2473611 100644
Binary files a/systests/ws-security/src/test/resources/certs/cxfca.jks and b/systests/ws-security/src/test/resources/certs/cxfca.jks differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/ws-security/src/test/resources/certs/xkms/bob.crt
----------------------------------------------------------------------
diff --git a/systests/ws-security/src/test/resources/certs/xkms/bob.crt b/systests/ws-security/src/test/resources/certs/xkms/bob.crt
index fd560fc..af2032f 100644
Binary files a/systests/ws-security/src/test/resources/certs/xkms/bob.crt and b/systests/ws-security/src/test/resources/certs/xkms/bob.crt differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/ws-security/src/test/resources/certs/xkms/trusted_cas/cxfca.crt
----------------------------------------------------------------------
diff --git a/systests/ws-security/src/test/resources/certs/xkms/trusted_cas/cxfca.crt b/systests/ws-security/src/test/resources/certs/xkms/trusted_cas/cxfca.crt
index 6ac5069..96d6d7d 100644
Binary files a/systests/ws-security/src/test/resources/certs/xkms/trusted_cas/cxfca.crt and b/systests/ws-security/src/test/resources/certs/xkms/trusted_cas/cxfca.crt differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/action/bob-modified.jks
----------------------------------------------------------------------
diff --git a/systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/action/bob-modified.jks b/systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/action/bob-modified.jks
new file mode 100644
index 0000000..26df583
Binary files /dev/null and b/systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/action/bob-modified.jks differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/action/bob-modified.properties
----------------------------------------------------------------------
diff --git a/systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/action/bob-modified.properties b/systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/action/bob-modified.properties
new file mode 100644
index 0000000..3592376
--- /dev/null
+++ b/systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/action/bob-modified.properties
@@ -0,0 +1,21 @@
+# 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.
+org.apache.wss4j.crypto.provider=org.apache.wss4j.common.crypto.Merlin
+org.apache.wss4j.crypto.merlin.keystore.type=jks
+org.apache.wss4j.crypto.merlin.keystore.password=password
+org.apache.wss4j.crypto.merlin.keystore.alias=bob
+org.apache.wss4j.crypto.merlin.keystore.file=org/apache/cxf/systest/ws/action/bob-modified.jks
http://git-wip-us.apache.org/repos/asf/cxf/blob/5b81488c/systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/action/signature-server.xml
----------------------------------------------------------------------
diff --git a/systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/action/signature-server.xml b/systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/action/signature-server.xml
index 0bfe4ad..8b917dc 100644
--- a/systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/action/signature-server.xml
+++ b/systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/action/signature-server.xml
@@ -170,7 +170,8 @@
<constructor-arg>
<map>
<entry key="action" value="Signature"/>
- <entry key="signatureVerificationPropFile" value="bob.properties"/>
+ <entry key="signatureVerificationPropFile"
+ value="org/apache/cxf/systest/ws/action/bob-modified.properties"/>
</map>
</constructor-arg>
</bean>
[2/5] cxf git commit: Fixing failing JDK8 test
Posted by co...@apache.org.
Fixing failing JDK8 test
Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/15b16712
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/15b16712
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/15b16712
Branch: refs/heads/3.0.x-fixes
Commit: 15b1671292b6e2858e7513de01d36e47aa5db102
Parents: 7be1f88
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Tue Oct 20 13:02:35 2015 +0100
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Tue Oct 20 14:00:45 2015 +0100
----------------------------------------------------------------------
.../cxf/systest/https/ciphersuites/CipherSuitesTest.java | 10 ++++++++++
1 file changed, 10 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cxf/blob/15b16712/systests/transports/src/test/java/org/apache/cxf/systest/https/ciphersuites/CipherSuitesTest.java
----------------------------------------------------------------------
diff --git a/systests/transports/src/test/java/org/apache/cxf/systest/https/ciphersuites/CipherSuitesTest.java b/systests/transports/src/test/java/org/apache/cxf/systest/https/ciphersuites/CipherSuitesTest.java
index d62ec5e..13257f9 100644
--- a/systests/transports/src/test/java/org/apache/cxf/systest/https/ciphersuites/CipherSuitesTest.java
+++ b/systests/transports/src/test/java/org/apache/cxf/systest/https/ciphersuites/CipherSuitesTest.java
@@ -231,6 +231,11 @@ public class CipherSuitesTest extends AbstractBusClientServerTestBase {
// Both client + server include RC4
@org.junit.Test
public void testRC4Included() throws Exception {
+ String version = System.getProperty("java.version");
+ if (1.8D == Double.parseDouble(version.substring(0, 3))) {
+ // RC4 not supported in JDK8
+ return;
+ }
SpringBusFactory bf = new SpringBusFactory();
URL busFile = CipherSuitesTest.class.getResource("ciphersuites-rc4-client.xml");
@@ -255,6 +260,11 @@ public class CipherSuitesTest extends AbstractBusClientServerTestBase {
// Both client + server include RC4
@org.junit.Test
public void testRC4IncludedAsync() throws Exception {
+ String version = System.getProperty("java.version");
+ if (1.8D == Double.parseDouble(version.substring(0, 3))) {
+ // RC4 not supported in JDK8
+ return;
+ }
SpringBusFactory bf = new SpringBusFactory();
URL busFile = CipherSuitesTest.class.getResource("ciphersuites-rc4-client.xml");
[5/5] cxf git commit: Fixing failing JDK8 test
Posted by co...@apache.org.
Fixing failing JDK8 test
Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/7be1f888
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/7be1f888
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/7be1f888
Branch: refs/heads/3.0.x-fixes
Commit: 7be1f888e0e32a895a586a4a4a3de6efc54b7f5e
Parents: 5b81488
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Tue Oct 20 12:35:18 2015 +0100
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Tue Oct 20 14:00:45 2015 +0100
----------------------------------------------------------------------
.../systest/jaxrs/security/jwt/JAXRSJwsJsonTest.java | 15 +++------------
1 file changed, 3 insertions(+), 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cxf/blob/7be1f888/systests/rs-security/src/test/java/org/apache/cxf/systest/jaxrs/security/jwt/JAXRSJwsJsonTest.java
----------------------------------------------------------------------
diff --git a/systests/rs-security/src/test/java/org/apache/cxf/systest/jaxrs/security/jwt/JAXRSJwsJsonTest.java b/systests/rs-security/src/test/java/org/apache/cxf/systest/jaxrs/security/jwt/JAXRSJwsJsonTest.java
index 01eecc9..90ad37d 100644
--- a/systests/rs-security/src/test/java/org/apache/cxf/systest/jaxrs/security/jwt/JAXRSJwsJsonTest.java
+++ b/systests/rs-security/src/test/java/org/apache/cxf/systest/jaxrs/security/jwt/JAXRSJwsJsonTest.java
@@ -29,7 +29,6 @@ import java.util.LinkedList;
import java.util.List;
import java.util.Map;
-import javax.crypto.Cipher;
import javax.ws.rs.BadRequestException;
import com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider;
@@ -41,7 +40,6 @@ import org.apache.cxf.rs.security.jose.jaxrs.JweClientResponseFilter;
import org.apache.cxf.rs.security.jose.jaxrs.JweWriterInterceptor;
import org.apache.cxf.rs.security.jose.jaxrs.JwsJsonClientResponseFilter;
import org.apache.cxf.rs.security.jose.jaxrs.JwsJsonWriterInterceptor;
-import org.apache.cxf.rs.security.jose.jwa.AlgorithmUtils;
import org.apache.cxf.systest.jaxrs.security.Book;
import org.apache.cxf.systest.jaxrs.security.SecurityTestUtil;
import org.apache.cxf.testutil.common.AbstractBusClientServerTestBase;
@@ -63,17 +61,11 @@ public class JAXRSJwsJsonTest extends AbstractBusClientServerTestBase {
public static void startServers() throws Exception {
assertTrue("server did not launch correctly",
launchServer(BookServerJwsJson.class, true));
- registerBouncyCastleIfNeeded();
+ registerBouncyCastle();
}
- private static void registerBouncyCastleIfNeeded() throws Exception {
- try {
- // Java 8 apparently has it
- Cipher.getInstance(AlgorithmUtils.AES_GCM_ALGO_JAVA);
- } catch (Throwable t) {
- // Oracle Java 7
- Security.addProvider(new BouncyCastleProvider());
- }
+ private static void registerBouncyCastle() throws Exception {
+ Security.addProvider(new BouncyCastleProvider());
}
@AfterClass
public static void unregisterBouncyCastleIfNeeded() throws Exception {
@@ -104,7 +96,6 @@ public class JAXRSJwsJsonTest extends AbstractBusClientServerTestBase {
if (SKIP_AES_GCM_TESTS || !SecurityTestUtil.checkUnrestrictedPoliciesInstalled()) {
return;
}
-
String address = "https://localhost:" + PORT + "/jwejwsjsonhmac";
List<?> extraProviders = Arrays.asList(new JacksonJsonProvider(),
new JweWriterInterceptor(),