buildbot success in on cxf-site-production

2019-04-02 Thread buildbot
The Buildbot has detected a restored build on builder cxf-site-production while 
building . Full details are available at:
https://ci.apache.org/builders/cxf-site-production/builds/31311

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: bb-cms-slave

Build Reason: The Nightly scheduler named 'cxf-site-production' triggered this 
build
Build Source Stamp: [branch cxf/web] HEAD
Blamelist: 

Build succeeded!

Sincerely,
 -The Buildbot





buildbot failure in on cxf-site-production

2019-04-02 Thread buildbot
The Buildbot has detected a new failure on builder cxf-site-production while 
building . Full details are available at:
https://ci.apache.org/builders/cxf-site-production/builds/31310

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: bb-cms-slave

Build Reason: The Nightly scheduler named 'cxf-site-production' triggered this 
build
Build Source Stamp: [branch cxf/web] HEAD
Blamelist: 

BUILD FAILED: failed compile

Sincerely,
 -The Buildbot





[cxf] branch 3.2.x-fixes updated (78c5dd1 -> c2ac625)

2019-04-02 Thread coheigea
This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a change to branch 3.2.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git.


from 78c5dd1  Recording .gitmergeinfo Changes
 new 2f65882  Putting an underscore before the Signature ID to make it 
schema compliant
 new 4b2671c  Recording .gitmergeinfo Changes
 new cd32661  Recording .gitmergeinfo Changes
 new c2ac625  Recording .gitmergeinfo Changes

The 14522 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .gitmergeinfo   | 17 +
 .../cxf/rs/security/xml/XmlSigOutInterceptor.java   |  2 +-
 2 files changed, 18 insertions(+), 1 deletion(-)



[cxf] branch master updated (1159eff -> 5578e0b)

2019-04-02 Thread coheigea
This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git.


from 1159eff  cxf-rt-frontend-jaxrs: fix PVS-Studio errors/warnings
 new 87d6a27  Removing some unused parameters
 new b3a73b3  Adding a policy operation test for WS-Security
 new 5578e0b  Adding a few more test assertions

The 14838 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../soap/interceptor/Soap11FaultInInterceptor.java |  2 +-
 .../websocket/ahc/AhcWebSocketConduit.java |  2 +-
 .../cxf/ws/security/wss4j/CryptoCoverageUtil.java  |  3 ++
 .../cxf/ws/security/wss4j/WSS4JInInterceptor.java  | 11 ++--
 .../RequiredElementsPolicyValidator.java   | 20 ---
 .../policyvalidators/SamlTokenPolicyValidator.java |  3 +-
 .../SecuredElementsPolicyValidator.java| 20 ---
 .../SecuredPartsPolicyValidator.java   | 14 +++--
 .../systest/ws/policy/PolicyAlternativeTest.java   | 53 ++-
 .../ws/policy/operation/PolicyOperationTest.java}  | 49 -
 .../cxf/systest/ws/policy/operation}/Server.java   |  2 +-
 .../systest/ws/security/SecurityPolicyTest.java| 16 +++---
 .../apache/cxf/systest/ws/swa/SWAActionTest.java   | 17 --
 .../apache/cxf/systest/ws/swa/SWAPolicyTest.java   | 23 +---
 .../operation/DoubleItPolicyOperation.wsdl}| 61 --
 .../operation/client.xml}  | 13 ++---
 .../bst-server.xml => policy/operation/server.xml} | 15 +++---
 17 files changed, 186 insertions(+), 138 deletions(-)
 copy 
systests/{uncategorized/src/test/java/org/apache/cxf/systest/soap/StaxTransformFeatureTest.java
 => 
ws-security/src/test/java/org/apache/cxf/systest/ws/policy/operation/PolicyOperationTest.java}
 (56%)
 copy 
systests/{ws-security-examples/src/test/java/org/apache/cxf/systest/wssec/examples/ut
 => 
ws-security/src/test/java/org/apache/cxf/systest/ws/policy/operation}/Server.java
 (96%)
 copy 
systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/{x509/DoubleItOperations.wsdl
 => policy/operation/DoubleItPolicyOperation.wsdl} (68%)
 copy 
systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/{fault/client-untrusted.xml
 => policy/operation/client.xml} (85%)
 copy 
systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/{tokens/bst-server.xml
 => policy/operation/server.xml} (75%)



svn commit: r1043054 - in /websites/production/cxf/content: cache/docs.pageCache docs/jax-rs-http-signature.html

2019-04-02 Thread buildbot
Author: buildbot
Date: Tue Apr  2 12:57:40 2019
New Revision: 1043054

Log:
Production update by buildbot for cxf

Modified:
websites/production/cxf/content/cache/docs.pageCache
websites/production/cxf/content/docs/jax-rs-http-signature.html

Modified: websites/production/cxf/content/cache/docs.pageCache
==
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/jax-rs-http-signature.html
==
--- websites/production/cxf/content/docs/jax-rs-http-signature.html (original)
+++ websites/production/cxf/content/docs/jax-rs-http-signature.html Tue Apr  2 
12:57:40 2019
@@ -119,11 +119,11 @@ Apache CXF -- JAX-RS HTTP Signature


 /**/
+/*]]>*/
 IntroductionMaven 
DependenciesConfiguration
 ProvidersFine grained 
ConfigurationConfiguration 
Properties
 
@@ -161,7 +161,7 @@ keyStore.load(ClassLoaderUtils.getResour
 PrivateKey privateKey = (PrivateKey)keyStore.getKey("alice", 
"password".toCharArray());
 assertNotNull(privateKey);
 
-MessageSigner messageSigner = new MessageSigner(privateKey, "alice-key-id");
+MessageSigner messageSigner = new MessageSigner(keyId -> privateKey, 
"alice-key-id");
 signatureFilter.setMessageSigner(messageSigner);
 
 String address = "http://localhost:"; + PORT + "/httpsig/bookstore/books";




[cxf] branch master updated: cxf-rt-frontend-jaxrs: fix PVS-Studio errors/warnings

2019-04-02 Thread buhhunyx
This is an automated email from the ASF dual-hosted git repository.

buhhunyx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
 new 1159eff  cxf-rt-frontend-jaxrs: fix PVS-Studio errors/warnings
1159eff is described below

commit 1159eff075501259554b811a44ffa87200a67aa9
Author: amarkevich 
AuthorDate: Tue Apr 2 15:27:05 2019 +0300

cxf-rt-frontend-jaxrs: fix PVS-Studio errors/warnings
---
 .../apache/cxf/jaxrs/ext/MessageContextImpl.java   |   1 -
 .../apache/cxf/jaxrs/impl/LinkHeaderProvider.java  |   2 +-
 .../org/apache/cxf/jaxrs/impl/ResponseImpl.java|   6 +-
 .../org/apache/cxf/jaxrs/impl/UriBuilderImpl.java  |   2 +-
 .../cxf/jaxrs/model/AbstractResourceInfo.java  |   8 +-
 .../jaxrs/model/ClassResourceInfoComparator.java   |   2 +-
 .../model/OperationResourceInfoComparator.java |   2 +-
 .../cxf/jaxrs/provider/DataSourceProvider.java |   6 +-
 .../cxf/jaxrs/provider/FormEncodingProvider.java   |   7 +-
 .../cxf/jaxrs/provider/MultipartProvider.java  |  19 ++-
 .../java/org/apache/cxf/jaxrs/utils/HttpUtils.java |   4 +-
 .../org/apache/cxf/jaxrs/utils/InjectionUtils.java |  13 +-
 .../cxf/jaxrs/SelectMethodCandidatesTest.java  | 119 +++-
 .../cxf/jaxrs/ext/MessageContextImplTest.java  |  20 +--
 .../cxf/jaxrs/impl/RequestPreprocessorTest.java|  15 +-
 .../apache/cxf/jaxrs/impl/ResponseImplTest.java|  27 ++--
 .../lifecycle/PerRequestResourceProviderTest.java  |  18 +--
 .../cxf/jaxrs/model/OperationResourceInfoTest.java |   5 +-
 .../jaxrs/provider/JAXBElementProviderTest.java|  17 +--
 .../jaxrs/provider/PrimitiveTextProviderTest.java  |   2 +-
 .../cxf/jaxrs/provider/ProviderFactoryTest.java|   3 +-
 .../cxf/jaxrs/provider/XSLTJaxbProviderTest.java   |  17 +--
 .../apache/cxf/jaxrs/utils/InjectionUtilsTest.java |  24 ++--
 .../org/apache/cxf/jaxrs/utils/JAXRSUtilsTest.java | 154 -
 24 files changed, 170 insertions(+), 323 deletions(-)

diff --git 
a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/MessageContextImpl.java
 
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/MessageContextImpl.java
index 2afd929..4432d7e 100644
--- 
a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/MessageContextImpl.java
+++ 
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/MessageContextImpl.java
@@ -302,7 +302,6 @@ public class MessageContextImpl implements MessageContext {
 if (childAttachments == null) {
 childAttachments = Collections.emptyList();
 }
-childAttachments.size();
 for (org.apache.cxf.message.Attachment a : childAttachments) {
 newAttachments.add(new Attachment(a, new 
ProvidersImpl(inMessage)));
 }
diff --git 
a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/LinkHeaderProvider.java
 
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/LinkHeaderProvider.java
index cb151ea..c097b03 100644
--- 
a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/LinkHeaderProvider.java
+++ 
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/LinkHeaderProvider.java
@@ -85,7 +85,7 @@ public class LinkHeaderProvider implements 
HeaderDelegate {
 
 }
 
-private String removeQuotesIfNeeded(String value) {
+private static String removeQuotesIfNeeded(String value) {
 if (value.length() > 1 && value.startsWith("\"") && 
value.endsWith("\"")) {
 return value.substring(1, value.length() - 1);
 }
diff --git 
a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/ResponseImpl.java 
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/ResponseImpl.java
index 3e4864f..217203d 100644
--- 
a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/ResponseImpl.java
+++ 
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/ResponseImpl.java
@@ -154,18 +154,18 @@ public final class ResponseImpl extends Response {
 MetadataMap headers = new 
MetadataMap<>(metadata.size());
 for (Map.Entry> entry : metadata.entrySet()) {
 String headerName = entry.getKey();
-headers.put(headerName, toListOfStrings(headerName, 
entry.getValue()));
+headers.put(headerName, toListOfStrings(entry.getValue()));
 }
 return headers;
 }
 
 public String getHeaderString(String header) {
 List methodValues = metadata.get(header);
-return HttpUtils.getHeaderString(toListOfStrings(header, 
methodValues));
+return HttpUtils.getHeaderString(toListOfStrings(methodValues));
 }
 
 // This conversion is needed as some values may not be Strings
-private List toListOfStrings(String headerName, List 
values) {
+private List toListOfStrings(List values) {
 if (values == null) {
 return null;
 }
diff --git 
a/rt/frontend/jaxrs/src/main/java/org/apa

[cxf] branch master updated (1391543 -> cdb1895)

2019-04-02 Thread coheigea
This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git.


from 1391543  Adding a few more HTTP Sig tests
 new 776ffeb  add a PrivateKeyProvider
 new 5480eb2  fix tests
 new 4b4723e  cosmetics and fix signature
 new 260cfe3  this can be final
 new 2157f30  fix test
 new cdb1895  Merge pull request #530 from 
davidkarlsen/feature/privateKeyProvider

The 14834 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../rs/security/httpsignature/MessageSigner.java   | 20 
 .../httpsignature/TomitribeSignatureCreator.java   | 15 +++---
 .../filters/AbstractSignatureOutFilter.java|  6 +--
 ...licKeyProvider.java => PrivateKeyProvider.java} | 12 ++---
 .../httpsignature/MessageVerifierTest.java |  2 +-
 .../security/httpsignature/SpecExamplesTest.java   | 16 ---
 .../httpsignature/JAXRSHTTPSignatureTest.java  | 56 +++---
 ...ider.java => PrivateKeyProviderTestHelper.java} | 12 +++--
 .../jaxrs/security/httpsignature/server.xml|  2 +-
 9 files changed, 75 insertions(+), 66 deletions(-)
 copy 
rt/rs/security/http-signature/src/main/java/org/apache/cxf/rs/security/httpsignature/provider/{PublicKeyProvider.java
 => PrivateKeyProvider.java} (78%)
 rename 
systests/rs-security/src/test/java/org/apache/cxf/systest/jaxrs/security/httpsignature/{PrivateKeyProvider.java
 => PrivateKeyProviderTestHelper.java} (84%)