buildbot success in on cxf-site-production

2021-04-20 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/49283

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

2021-04-20 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/49282

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 master updated: cxf-services-sts-core: fix PMD rule: UnusedAssignment

2021-04-20 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 dc2b6cc  cxf-services-sts-core: fix PMD rule: UnusedAssignment
dc2b6cc is described below

commit dc2b6cc5cc1164f6bb45049bec2373032411f54a
Author: Alexey Markevich 
AuthorDate: Wed Apr 21 03:40:48 2021 +0300

cxf-services-sts-core: fix PMD rule: UnusedAssignment
---
 .../cxf/sts/cache/AbstractIdentityCache.java   |  2 +-
 .../apache/cxf/sts/cache/HazelCastTokenStore.java  |  2 +-
 .../org/apache/cxf/sts/claims/ClaimsManager.java   |  4 +-
 .../apache/cxf/sts/claims/LdapClaimsHandler.java   |  2 +-
 .../cxf/sts/claims/LdapGroupClaimsHandler.java |  4 +-
 .../java/org/apache/cxf/sts/claims/LdapUtils.java  |  8 ++--
 .../apache/cxf/sts/event/map/MapEventLogger.java   | 52 +++---
 .../cxf/sts/operation/TokenIssueOperation.java |  6 +--
 .../cxf/sts/operation/TokenRenewOperation.java |  6 +--
 .../cxf/sts/operation/TokenValidateOperation.java  |  6 +--
 .../org/apache/cxf/sts/request/RequestParser.java  |  2 +-
 .../sts/token/provider/DefaultSubjectProvider.java |  4 +-
 .../cxf/sts/token/provider/SAMLTokenProvider.java  |  6 +--
 .../sts/token/provider/SymmetricKeyHandler.java|  2 +-
 .../provider/jwt/DefaultJWTClaimsProvider.java |  4 +-
 .../sts/token/provider/jwt/JWTTokenProvider.java   |  5 +--
 .../cxf/sts/token/renewer/SAMLTokenRenewer.java|  6 +--
 .../sts/token/validator/SAMLTokenValidator.java|  6 +--
 .../token/validator/UsernameTokenValidator.java|  2 +-
 .../sts/token/validator/X509TokenValidator.java|  2 +-
 .../token/validator/jwt/DefaultJWTRoleParser.java  |  2 +-
 .../cxf/sts/common/CustomUserClaimsHandler.java|  4 +-
 .../apache/cxf/sts/service/StaticServiceTest.java  |  4 +-
 .../sts/token/provider/SAMLProviderRealmTest.java  |  1 -
 .../token/validator/X509TokenValidatorTest.java|  3 +-
 25 files changed, 69 insertions(+), 76 deletions(-)

diff --git 
a/services/sts/sts-core/src/main/java/org/apache/cxf/sts/cache/AbstractIdentityCache.java
 
b/services/sts/sts-core/src/main/java/org/apache/cxf/sts/cache/AbstractIdentityCache.java
index ffc6bcf..011457a 100644
--- 
a/services/sts/sts-core/src/main/java/org/apache/cxf/sts/cache/AbstractIdentityCache.java
+++ 
b/services/sts/sts-core/src/main/java/org/apache/cxf/sts/cache/AbstractIdentityCache.java
@@ -51,7 +51,7 @@ public abstract class AbstractIdentityCache implements 
IdentityCache, IdentityMa
 public Principal mapPrincipal(String sourceRealm,
 Principal sourcePrincipal, String targetRealm) {
 
-Principal targetPrincipal = null;
+final Principal targetPrincipal;
 Map identities = this.get(sourcePrincipal.getName(), 
sourceRealm);
 if (identities != null) {
 if (LOG.isLoggable(Level.FINE)) {
diff --git 
a/services/sts/sts-core/src/main/java/org/apache/cxf/sts/cache/HazelCastTokenStore.java
 
b/services/sts/sts-core/src/main/java/org/apache/cxf/sts/cache/HazelCastTokenStore.java
index de35d3b..68fe914 100644
--- 
a/services/sts/sts-core/src/main/java/org/apache/cxf/sts/cache/HazelCastTokenStore.java
+++ 
b/services/sts/sts-core/src/main/java/org/apache/cxf/sts/cache/HazelCastTokenStore.java
@@ -123,7 +123,7 @@ public class HazelCastTokenStore implements TokenStore {
 }
 
 private int getTTL(SecurityToken token) {
-int parsedTTL = 0;
+int parsedTTL;
 if (token.getExpires() != null) {
 Instant expires = token.getExpires();
 Instant now = Instant.now();
diff --git 
a/services/sts/sts-core/src/main/java/org/apache/cxf/sts/claims/ClaimsManager.java
 
b/services/sts/sts-core/src/main/java/org/apache/cxf/sts/claims/ClaimsManager.java
index d6210c7..acddaa5 100644
--- 
a/services/sts/sts-core/src/main/java/org/apache/cxf/sts/claims/ClaimsManager.java
+++ 
b/services/sts/sts-core/src/main/java/org/apache/cxf/sts/claims/ClaimsManager.java
@@ -163,7 +163,7 @@ public class ClaimsManager {
 // Consider refactoring to use a CallbackHandler and keep 
ClaimsManager token independent
 SamlAssertionWrapper assertion =
 
(SamlAssertionWrapper)parameters.getAdditionalProperties().get(SamlAssertionWrapper.class.getName());
-List claimList = null;
+final List claimList;
 if (assertion.getSamlVersion().equals(SAMLVersion.VERSION_20)) {
 claimList = this.parseClaimsInAssertion(assertion.getSaml2());
 } else {
@@ -240,7 +240,7 @@ public class ClaimsManager {
 // do an identity mapping
 if (handlerRealmSupport.getHandlerRealm() != null
 && 
!handlerRealmSupport.getHandlerRealm().equalsIgnoreCase(parameters.getRealm())) 
{
-Principal targetPrincipal = null;
+final Principal targetPrincipal;
 try {
 

[cxf] branch 3.3.x-fixes updated (52eca2f -> e3f3604)

2021-04-20 Thread reta
This is an automated email from the ASF dual-hosted git repository.

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


from 52eca2f  Recording .gitmergeinfo Changes
 new acb3358  Update Checkstyle to 8.41.1 (#773)
 new 57b7ab9  Fixing checkstyle violations
 new e3f3604  Recording .gitmergeinfo Changes

The 3 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  |  2 +
 .../org/apache/cxf/configuration/foo/Address.java  | 12 ++---
 .../java/org/apache/cxf/configuration/foo/Foo.java | 14 ++---
 .../org/apache/cxf/configuration/foo/Point.java|  8 +--
 .../boot/autoconfigure/CxfAutoConfiguration.java   |  4 +-
 .../apache/cxf/osgi/itests/jaxrs/BookStore.java| 18 +++
 parent/pom.xml |  2 +-
 .../cxf/jaxws/handler/jakartaee/IconType.java  |  7 ++-
 .../jaxws/handler/jakartaee/ParamValueType.java|  8 ++-
 .../jakartaee/PortComponentHandlerType.java| 14 +++--
 .../apache/cxf/jaxws/handler/types/IconType.java   |  7 ++-
 .../cxf/jaxws/handler/types/ParamValueType.java|  8 ++-
 .../handler/types/PortComponentHandlerType.java| 14 +++--
 .../apache/cxf/jaxws/ws/PolicyAnnotationTest.java  |  3 +-
 .../org/apache/cxf/jaxrs/client/WebClient.java |  2 +-
 .../cxf/systest/jaxrs/JAXRSAsyncClientTest.java|  4 +-
 .../java/org/apache/cxf/systest/jaxrs/XopType.java |  6 ++-
 .../systest/jaxrs/cors/AnnotatedCorsServer.java| 21 +---
 .../cxf/systest/jaxrs/cors/CorsSecuredBase.java| 19 ---
 .../systest/jaxrs/cors/UnannotatedCorsServer.java  | 11 ++--
 .../jaxws/DocLitWrappedCodeFirstService.java   | 59 ++
 .../cxf/systest/ldap/jaxrs/JAXRSLDAPUserTest.java  | 37 +++---
 .../cxf/systest/ldap/sts/LDAPClaimsTest.java   | 17 ---
 .../systest/ldap/xkms/LDAPCertificateRepoTest.java | 37 +++---
 .../cxf/systest/jms/shared/JMSSharedQueueTest.java | 30 +--
 .../cxf/systest/mtom_schema_validation/Hello.java  |  9 ++--
 .../mtom_schema_validation/TestProvider.java   |  6 +--
 .../ws/policy/handler/HelloServiceImpl.java| 12 ++---
 28 files changed, 219 insertions(+), 172 deletions(-)


[cxf] 01/03: Update Checkstyle to 8.41.1 (#773)

2021-04-20 Thread reta
This is an automated email from the ASF dual-hosted git repository.

reta pushed a commit to branch 3.3.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit acb335821584daaf7bcfd9aff40da27cb4826748
Author: Andriy Redko 
AuthorDate: Mon Apr 19 18:39:26 2021 -0400

Update Checkstyle to 8.41.1 (#773)

(cherry picked from commit 5cbed0aaa0160a8588cca6d8a2290a61bba2cdbf)

# Conflicts:
#   parent/pom.xml
(cherry picked from commit a0b7be62d175d9fce45e2e0e59e65d8689fc8cf7)

# Conflicts:
#   parent/pom.xml
---
 parent/pom.xml| 2 +-
 rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/WebClient.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index 4bf5092..de786a1 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -383,7 +383,7 @@
 
 com.puppycrawl.tools
 checkstyle
-8.30
+8.41.1
 
 
 
diff --git 
a/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/WebClient.java 
b/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/WebClient.java
index 0f0c36c..7663131 100644
--- a/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/WebClient.java
+++ b/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/WebClient.java
@@ -1309,7 +1309,7 @@ public class WebClient extends AbstractClient {
 }
 
 @SuppressWarnings({
- "rawtypes", "unchecked"
+"rawtypes", "unchecked"
 })
 public  T rx(Class rxCls, ExecutorService 
executorService) {
 if (CompletionStageRxInvoker.class.isAssignableFrom(rxCls)) {


[cxf] 02/03: Fixing checkstyle violations

2021-04-20 Thread reta
This is an automated email from the ASF dual-hosted git repository.

reta pushed a commit to branch 3.3.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit 57b7ab9780201267439d78610db920819f9cac70
Author: reta 
AuthorDate: Mon Apr 19 20:35:05 2021 -0400

Fixing checkstyle violations

(cherry picked from commit 651991cdad0141db7ca5f87c9fe4a768854ded42)
(cherry picked from commit 6d7af7fe15e5b8ee31b2ec72a28f6009f87632c0)
---
 .../org/apache/cxf/configuration/foo/Address.java  | 12 ++---
 .../java/org/apache/cxf/configuration/foo/Foo.java | 14 ++---
 .../org/apache/cxf/configuration/foo/Point.java|  8 +--
 .../boot/autoconfigure/CxfAutoConfiguration.java   |  4 +-
 .../apache/cxf/osgi/itests/jaxrs/BookStore.java| 18 +++
 .../cxf/jaxws/handler/jakartaee/IconType.java  |  7 ++-
 .../jaxws/handler/jakartaee/ParamValueType.java|  8 ++-
 .../jakartaee/PortComponentHandlerType.java| 14 +++--
 .../apache/cxf/jaxws/handler/types/IconType.java   |  7 ++-
 .../cxf/jaxws/handler/types/ParamValueType.java|  8 ++-
 .../handler/types/PortComponentHandlerType.java| 14 +++--
 .../apache/cxf/jaxws/ws/PolicyAnnotationTest.java  |  3 +-
 .../cxf/systest/jaxrs/JAXRSAsyncClientTest.java|  4 +-
 .../java/org/apache/cxf/systest/jaxrs/XopType.java |  6 ++-
 .../systest/jaxrs/cors/AnnotatedCorsServer.java| 21 +---
 .../cxf/systest/jaxrs/cors/CorsSecuredBase.java| 19 ---
 .../systest/jaxrs/cors/UnannotatedCorsServer.java  | 11 ++--
 .../jaxws/DocLitWrappedCodeFirstService.java   | 59 ++
 .../cxf/systest/ldap/jaxrs/JAXRSLDAPUserTest.java  | 37 +++---
 .../cxf/systest/ldap/sts/LDAPClaimsTest.java   | 17 ---
 .../systest/ldap/xkms/LDAPCertificateRepoTest.java | 37 +++---
 .../cxf/systest/jms/shared/JMSSharedQueueTest.java | 30 +--
 .../cxf/systest/mtom_schema_validation/Hello.java  |  9 ++--
 .../mtom_schema_validation/TestProvider.java   |  6 +--
 .../ws/policy/handler/HelloServiceImpl.java| 12 ++---
 25 files changed, 215 insertions(+), 170 deletions(-)

diff --git a/core/src/test/java/org/apache/cxf/configuration/foo/Address.java 
b/core/src/test/java/org/apache/cxf/configuration/foo/Address.java
index 07c9dc0..9bed877 100644
--- a/core/src/test/java/org/apache/cxf/configuration/foo/Address.java
+++ b/core/src/test/java/org/apache/cxf/configuration/foo/Address.java
@@ -50,12 +50,12 @@ import javax.xml.bind.annotation.XmlType;
  */
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "address",
- propOrder = {
-  "city",
-  "zip",
-  "street",
-  "nr"
-  })
+propOrder = {
+"city",
+"zip",
+"street",
+"nr"
+})
 public class Address {
 
 @XmlElement(required = true)
diff --git a/core/src/test/java/org/apache/cxf/configuration/foo/Foo.java 
b/core/src/test/java/org/apache/cxf/configuration/foo/Foo.java
index 33d93e9..ec68077 100644
--- a/core/src/test/java/org/apache/cxf/configuration/foo/Foo.java
+++ b/core/src/test/java/org/apache/cxf/configuration/foo/Foo.java
@@ -49,13 +49,13 @@ import javax.xml.bind.annotation.XmlType;
  */
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "foo",
- propOrder = {
-  "position",
-  "address",
-  "name",
-  "intDefault",
-  "intNoDefault"
-})
+propOrder = {
+"position",
+"address",
+"name",
+"intDefault",
+"intNoDefault"
+})
 public class Foo {
 
 protected Point position;
diff --git a/core/src/test/java/org/apache/cxf/configuration/foo/Point.java 
b/core/src/test/java/org/apache/cxf/configuration/foo/Point.java
index 36b08f0..4edbb1b 100644
--- a/core/src/test/java/org/apache/cxf/configuration/foo/Point.java
+++ b/core/src/test/java/org/apache/cxf/configuration/foo/Point.java
@@ -46,10 +46,10 @@ import javax.xml.bind.annotation.XmlType;
  */
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "point",
- propOrder = {
-  "x",
-  "y"
-})
+propOrder = {
+"x",
+"y"
+})
 public class Point {
 
 protected int x;
diff --git 
a/integration/spring-boot/autoconfigure/src/main/java/org/apache/cxf/spring/boot/autoconfigure/CxfAutoConfiguration.java
 
b/integration/spring-boot/autoconfigure/src/main/java/org/apache/cxf/spring/boot/autoconfigure/CxfAutoConfiguration.java
index 9b5c3df1..92d862e 100644
--- 
a/integration/spring-boot/autoconfigure/src/main/java/org/apache/cxf/spring/boot/autoconfigure/CxfAutoConfiguration.java
+++ 
b/integration/spring-boot/autoconfigure/src/main/java/org/apache/cxf/spring/boot/autoconfigure/CxfAutoConfiguration.java
@@ -49,8 +49,8 @@ import org.springframework.context.annotation.ImportResource;
 @ConditionalOnClass({ SpringBus.

[cxf] 03/03: Recording .gitmergeinfo Changes

2021-04-20 Thread reta
This is an automated email from the ASF dual-hosted git repository.

reta pushed a commit to branch 3.3.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit e3f3604984fd8332924dcd093d0555bb27e79e93
Author: reta 
AuthorDate: Tue Apr 20 07:31:29 2021 -0400

Recording .gitmergeinfo Changes
---
 .gitmergeinfo | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitmergeinfo b/.gitmergeinfo
index 09fb2bd..b50765c 100644
--- a/.gitmergeinfo
+++ b/.gitmergeinfo
@@ -151,6 +151,7 @@ B 3b11ad447a8d2f296f9ae59a87c93ab8706a2588
 B 3b96065d50dbfda39b6f09d641893fe50a74c786
 B 3ba61d249544cf5b0270bc82aa0efe1e433c046e
 B 3bf2dcafccb3d8243dea1afdedc333e307e0
+B 3c2a3f4b4878d0637b9a88c0415c4509dc2dbcda
 B 3cc41b3ec06795e4589f3caaa6c085d73aa047d5
 B 3cd982b47033b6fe860e1b949ac9014762b5aa13
 B 3d0dd308b7591ee8e5b3448acd72146c942b5180
@@ -819,6 +820,7 @@ M 9c6958cee3e57912b07cd3907b3aa649e797b29f
 M 9df9b22a4032b19ea953600ebdfa84e8c15d2370
 M 9ef7499fc3f86bdfecbcfe9d1ac537a783876918
 M 9f939eefbd41ee5c0e88b41c2e177fdbc5cbdd26
+M a0b7be62d175d9fce45e2e0e59e65d8689fc8cf7
 M a0f76d634d9b58a2644bc01532d7dd87b66081de
 M a3682d5fefddc8daaa068e0afe98ec6070da7dd4
 M a3a49c7ee82f83bc683b898594d5c4948578f25a


[cxf] branch 3.3.x-fixes updated: Recording .gitmergeinfo Changes

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

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


The following commit(s) were added to refs/heads/3.3.x-fixes by this push:
 new 52eca2f  Recording .gitmergeinfo Changes
52eca2f is described below

commit 52eca2fe83e05887782567b920b9e6e241bc5cb1
Author: Colm O hEigeartaigh 
AuthorDate: Tue Apr 20 08:30:17 2021 +0100

Recording .gitmergeinfo Changes
---
 .gitmergeinfo | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitmergeinfo b/.gitmergeinfo
index 35dc227..09fb2bd 100644
--- a/.gitmergeinfo
+++ b/.gitmergeinfo
@@ -360,6 +360,7 @@ B 8f93152ae86c2d24b95ed9ce5599e6f5453091bc
 B 8f980049b3494dd370db259f358a1d3e869301e7
 B 91634e844c1a062588ee3b338949d77621e3f8ab
 B 9167ea883bc991564a5109a1e614d6e94c332190
+B 9183102499abd1ff2e41fe18172b783a5d9b3695
 B 9196eb88a0350eabb9177e3087712d377d920d8c
 B 9196f3364085c9f9ba6319d7b068d44206b0e290
 B 91cb6d0f8f4d1e76320de4fe89e202367a1b8fd5


[cxf] branch 3.4.x-fixes updated: Updating woodstox to 6.2.6

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

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


The following commit(s) were added to refs/heads/3.4.x-fixes by this push:
 new 9183102  Updating woodstox to 6.2.6
9183102 is described below

commit 9183102499abd1ff2e41fe18172b783a5d9b3695
Author: Colm O hEigeartaigh 
AuthorDate: Tue Apr 20 08:29:12 2021 +0100

Updating woodstox to 6.2.6

(cherry picked from commit 7c4e6ea0cb1fdb4e7dcb81474a482c4759cecd1c)
---
 parent/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index f4ddf14..a4652fb 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -218,7 +218,7 @@
 2.0.2
 2.3
 2.23.2
-6.2.5
+6.2.6
 4.2.1
 1.6.3
 2.3.1


[cxf] branch master updated: Updating woodstox to 6.2.6

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

coheigea 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 7c4e6ea  Updating woodstox to 6.2.6
7c4e6ea is described below

commit 7c4e6ea0cb1fdb4e7dcb81474a482c4759cecd1c
Author: Colm O hEigeartaigh 
AuthorDate: Tue Apr 20 08:29:12 2021 +0100

Updating woodstox to 6.2.6
---
 parent/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index 0cc6486..3b05d5f 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -218,7 +218,7 @@
 2.0.2
 2.3
 2.23.2
-6.2.5
+6.2.6
 4.2.1
 1.6.3
 2.3.1