You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2026/04/04 07:19:42 UTC

(syncope) branch 4_1_X updated (45b260e00e -> 1e79c84a50)

This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a change to branch 4_1_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


    from 45b260e00e [SYNCOPE-1959] solved group relationship management error in console (#1338)
     new 77321846d3 Bump io.github.git-commit-id:git-commit-id-maven-plugin
     new ffa545f2fa Bump org.codehaus.cargo:cargo-maven3-plugin from 1.10.26 to 1.10.27
     new 1e79c84a50 Upgrading CAS

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:
 fit/build-tools/pom.xml                            |  2 +-
 fit/core-reference/pom.xml                         |  2 +-
 .../src/main/resources/core-wildfly.properties     |  2 +-
 pom.xml                                            |  6 +-
 .../syncope/wa/starter/config/WAContext.java       | 10 ---
 .../oidc/WAOidcAttributeReleasePolicyFactory.java  | 89 ----------------------
 6 files changed, 6 insertions(+), 105 deletions(-)
 delete mode 100644 wa/starter/src/main/java/org/apache/syncope/wa/starter/oidc/WAOidcAttributeReleasePolicyFactory.java


(syncope) 02/03: Bump org.codehaus.cargo:cargo-maven3-plugin from 1.10.26 to 1.10.27

Posted by il...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 4_1_X
in repository https://gitbox.apache.org/repos/asf/syncope.git

commit ffa545f2fa1edf170a48f57b873f48dfd6e50193
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Fri Apr 3 22:44:20 2026 +0000

    Bump org.codehaus.cargo:cargo-maven3-plugin from 1.10.26 to 1.10.27
    
    Bumps org.codehaus.cargo:cargo-maven3-plugin from 1.10.26 to 1.10.27.
    
    ---
    updated-dependencies:
    - dependency-name: org.codehaus.cargo:cargo-maven3-plugin
      dependency-version: 1.10.27
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <su...@github.com>
---
 fit/build-tools/pom.xml                                       | 2 +-
 fit/core-reference/pom.xml                                    | 2 +-
 fit/core-reference/src/main/resources/core-wildfly.properties | 2 +-
 pom.xml                                                       | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/fit/build-tools/pom.xml b/fit/build-tools/pom.xml
index 56814e3658..07e948c40e 100644
--- a/fit/build-tools/pom.xml
+++ b/fit/build-tools/pom.xml
@@ -383,7 +383,7 @@ under the License.
             <inherited>true</inherited>
             <configuration>
               <container>
-                <containerId>wildfly38x</containerId>
+                <containerId>wildfly39x</containerId>
                 <zipUrlInstaller>
                   <url>https://github.com/wildfly/wildfly/releases/download/${wildfly.version}/wildfly-${wildfly.version}.zip</url>
                   <downloadDir>${settings.localRepository}/org/codehaus/cargo/cargo-container-archives</downloadDir>
diff --git a/fit/core-reference/pom.xml b/fit/core-reference/pom.xml
index 843f5675fc..8465c0afa6 100644
--- a/fit/core-reference/pom.xml
+++ b/fit/core-reference/pom.xml
@@ -1393,7 +1393,7 @@ under the License.
             <inherited>true</inherited>
             <configuration>
               <container>
-                <containerId>wildfly38x</containerId>
+                <containerId>wildfly39x</containerId>
                 <zipUrlInstaller>
                   <url>https://github.com/wildfly/wildfly/releases/download/${wildfly.version}/wildfly-${wildfly.version}.zip</url>
                   <downloadDir>${settings.localRepository}/org/codehaus/cargo/cargo-container-archives</downloadDir>
diff --git a/fit/core-reference/src/main/resources/core-wildfly.properties b/fit/core-reference/src/main/resources/core-wildfly.properties
index b1b34b58f1..f8c3e31e9b 100644
--- a/fit/core-reference/src/main/resources/core-wildfly.properties
+++ b/fit/core-reference/src/main/resources/core-wildfly.properties
@@ -14,7 +14,7 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-persistence.metaDataFactory=jpa(URLs=vfs:${project.build.directory}/cargo/configurations/wildfly38x/deployments/syncope.war/WEB-INF/lib/syncope-core-persistence-jpa-${syncope.version}.jar; vfs:${project.build.directory}/cargo/configurations/wildfly38x/deployments/syncope.war/WEB-INF/lib/syncope-core-self-keymaster-starter-${syncope.version}.jar, Resources=##orm##)
+persistence.metaDataFactory=jpa(URLs=vfs:${project.build.directory}/cargo/configurations/wildfly39x/deployments/syncope.war/WEB-INF/lib/syncope-core-persistence-jpa-${syncope.version}.jar; vfs:${project.build.directory}/cargo/configurations/wildfly39x/deployments/syncope.war/WEB-INF/lib/syncope-core-self-keymaster-starter-${syncope.version}.jar, Resources=##orm##)
 
 javadocPaths=/WEB-INF/lib/syncope-common-idrepo-rest-api-${syncope.version}-javadoc.jar,\
 /WEB-INF/lib/syncope-common-idm-rest-api-${syncope.version}-javadoc.jar,\
diff --git a/pom.xml b/pom.xml
index e9523293b0..6f001b8674 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1776,7 +1776,7 @@ under the License.
         <plugin>
           <groupId>org.codehaus.cargo</groupId>
           <artifactId>cargo-maven3-plugin</artifactId>
-          <version>1.10.26</version>
+          <version>1.10.27</version>
           <configuration>
             <container>
               <log>${project.build.directory}/log/cargo.log</log>


(syncope) 03/03: Upgrading CAS

Posted by il...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 4_1_X
in repository https://gitbox.apache.org/repos/asf/syncope.git

commit 1e79c84a50fbb99aa89553d9d3ec3d13fa40c977
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Sat Apr 4 06:13:04 2026 +0200

    Upgrading CAS
---
 pom.xml                                            |  2 +-
 .../syncope/wa/starter/config/WAContext.java       | 10 ---
 .../oidc/WAOidcAttributeReleasePolicyFactory.java  | 89 ----------------------
 3 files changed, 1 insertion(+), 100 deletions(-)

diff --git a/pom.xml b/pom.xml
index 6f001b8674..6cc4dfe173 100644
--- a/pom.xml
+++ b/pom.xml
@@ -463,7 +463,7 @@ under the License.
 
     <pac4j.version>6.3.3</pac4j.version>
 
-    <cas.version>7.3.5</cas.version>
+    <cas.version>7.3.6</cas.version>
     <cas-client.version>4.0.4</cas-client.version>
 
     <swagger-core.version>2.2.46</swagger-core.version>
diff --git a/wa/starter/src/main/java/org/apache/syncope/wa/starter/config/WAContext.java b/wa/starter/src/main/java/org/apache/syncope/wa/starter/config/WAContext.java
index b2c3688fe5..bad09c3947 100644
--- a/wa/starter/src/main/java/org/apache/syncope/wa/starter/config/WAContext.java
+++ b/wa/starter/src/main/java/org/apache/syncope/wa/starter/config/WAContext.java
@@ -61,7 +61,6 @@ import org.apache.syncope.wa.starter.mapping.SAML2SPClientAppTOMapper;
 import org.apache.syncope.wa.starter.mapping.TicketExpirationMapper;
 import org.apache.syncope.wa.starter.mapping.TimeBasedAccessMapper;
 import org.apache.syncope.wa.starter.mfa.WAMultifactorAuthenticationTrustStorage;
-import org.apache.syncope.wa.starter.oidc.WAOidcAttributeReleasePolicyFactory;
 import org.apache.syncope.wa.starter.oidc.WAOidcJsonWebKeystoreGeneratorService;
 import org.apache.syncope.wa.starter.pac4j.saml.WASAML2ClientCustomizer;
 import org.apache.syncope.wa.starter.saml.idp.metadata.WASamlIdPMetadataCacheRefresher;
@@ -81,7 +80,6 @@ import org.apereo.cas.configuration.model.support.pm.PasswordManagementPropertie
 import org.apereo.cas.gauth.CasGoogleAuthenticator;
 import org.apereo.cas.gauth.credential.LdapGoogleAuthenticatorTokenCredentialRepository;
 import org.apereo.cas.oidc.jwks.generator.OidcJsonWebKeystoreGeneratorService;
-import org.apereo.cas.oidc.scopes.OidcAttributeReleasePolicyFactory;
 import org.apereo.cas.otp.repository.credentials.OneTimeTokenCredentialRepository;
 import org.apereo.cas.pm.LdapPasswordManagementService;
 import org.apereo.cas.pm.PasswordHistoryService;
@@ -537,14 +535,6 @@ public class WAContext {
                 applicationContext);
     }
 
-    @Bean
-    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
-    public OidcAttributeReleasePolicyFactory oidcAttributeReleasePolicyFactory(
-            final CasConfigurationProperties casProperties) {
-
-        return new WAOidcAttributeReleasePolicyFactory(casProperties);
-    }
-
     @Bean
     public WebAuthnCredentialRepository webAuthnCredentialRepository(
             final CasConfigurationProperties casProperties,
diff --git a/wa/starter/src/main/java/org/apache/syncope/wa/starter/oidc/WAOidcAttributeReleasePolicyFactory.java b/wa/starter/src/main/java/org/apache/syncope/wa/starter/oidc/WAOidcAttributeReleasePolicyFactory.java
deleted file mode 100644
index b9bc7a7f10..0000000000
--- a/wa/starter/src/main/java/org/apache/syncope/wa/starter/oidc/WAOidcAttributeReleasePolicyFactory.java
+++ /dev/null
@@ -1,89 +0,0 @@
-/*
- * 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.
- */
-package org.apache.syncope.wa.starter.oidc;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.UUID;
-import org.apereo.cas.configuration.CasConfigurationProperties;
-import org.apereo.cas.oidc.claims.BaseOidcScopeAttributeReleasePolicy;
-import org.apereo.cas.oidc.claims.OidcCustomScopeAttributeReleasePolicy;
-import org.apereo.cas.oidc.claims.OidcRegisteredServiceAttributeReleasePolicy;
-import org.apereo.cas.oidc.claims.OidcScopeFreeAttributeReleasePolicy;
-import org.apereo.cas.oidc.scopes.DefaultOidcAttributeReleasePolicyFactory;
-import org.apereo.cas.services.ChainingAttributeReleasePolicy;
-import org.apereo.cas.services.OidcRegisteredService;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class WAOidcAttributeReleasePolicyFactory extends DefaultOidcAttributeReleasePolicyFactory {
-
-    protected static final Logger LOG = LoggerFactory.getLogger(WAOidcAttributeReleasePolicyFactory.class);
-
-    public WAOidcAttributeReleasePolicyFactory(final CasConfigurationProperties casProperties) {
-        super(casProperties);
-    }
-
-    @Override
-    public Map<String, BaseOidcScopeAttributeReleasePolicy> resolvePolicies(
-            final OidcRegisteredService registeredService) {
-
-        Map<String, BaseOidcScopeAttributeReleasePolicy> policies = new HashMap<>(attributeReleasePoliciesByScope);
-
-        Collection<OidcCustomScopeAttributeReleasePolicy> userScopes = getUserDefinedScopes();
-        LOG.debug("Configuring attributes release policies for user-defined scopes [{}]", userScopes);
-        userScopes.forEach(us -> policies.put(us.getScopeName(), us));
-
-        LOG.debug("Configuring attributes release policies for user-defined scopes specified for service [{}]",
-                registeredService.getName());
-
-        List<OidcRegisteredServiceAttributeReleasePolicy> listOfOidcPolicies = new ArrayList<>();
-        switch (registeredService.getAttributeReleasePolicy()) {
-            case ChainingAttributeReleasePolicy chain ->
-                listOfOidcPolicies.addAll(chain.getPolicies().stream().
-                        filter(OidcRegisteredServiceAttributeReleasePolicy.class::isInstance).
-                        map(OidcRegisteredServiceAttributeReleasePolicy.class::cast).
-                        toList());
-
-            case OidcRegisteredServiceAttributeReleasePolicy policy ->
-                listOfOidcPolicies.add(policy);
-
-            case null -> {
-            }
-
-            default -> {
-            }
-        }
-
-        listOfOidcPolicies.stream().
-                filter(OidcCustomScopeAttributeReleasePolicy.class::isInstance).
-                map(OidcCustomScopeAttributeReleasePolicy.class::cast).
-                forEach(policy -> policies.put(policy.getScopeName(), policy));
-        listOfOidcPolicies.stream().
-                filter(OidcScopeFreeAttributeReleasePolicy.class::isInstance).
-                map(OidcScopeFreeAttributeReleasePolicy.class::cast).
-                forEach(policy -> policies.put(UUID.randomUUID().toString(), policy));
-
-        LOG.debug("Final set of scopes mapped to attribute release policies are [{}]", policies.keySet());
-        return policies;
-    }
-}


(syncope) 01/03: Bump io.github.git-commit-id:git-commit-id-maven-plugin

Posted by il...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 4_1_X
in repository https://gitbox.apache.org/repos/asf/syncope.git

commit 77321846d38e85aa9808752f03bf4fb0011aa792
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Fri Apr 3 22:41:56 2026 +0000

    Bump io.github.git-commit-id:git-commit-id-maven-plugin
    
    Bumps [io.github.git-commit-id:git-commit-id-maven-plugin](https://github.com/git-commit-id/git-commit-id-maven-plugin) from 9.1.0 to 10.0.0.
    - [Release notes](https://github.com/git-commit-id/git-commit-id-maven-plugin/releases)
    - [Commits](https://github.com/git-commit-id/git-commit-id-maven-plugin/compare/v9.1.0...v10.0.0)
    
    ---
    updated-dependencies:
    - dependency-name: io.github.git-commit-id:git-commit-id-maven-plugin
      dependency-version: 10.0.0
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <su...@github.com>
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 6875ab9432..e9523293b0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1592,7 +1592,7 @@ under the License.
         <plugin>
           <groupId>io.github.git-commit-id</groupId>
           <artifactId>git-commit-id-maven-plugin</artifactId>
-          <version>9.1.0</version>
+          <version>10.0.0</version>
           <executions>
             <execution>
               <goals>