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

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


The following commit(s) were added to refs/heads/3_0_X by this push:
     new b204b33ad3 [SYNCOPE-1891] Provides mapped attributes setting into 
SAML2IdPAuthModuleConf (#1124)
b204b33ad3 is described below

commit b204b33ad3d286ef948b1879eb9fdcb465794803
Author: Fabio Martelli <fmarte...@apache.org>
AuthorDate: Thu Jul 3 13:35:17 2025 +0200

    [SYNCOPE-1891] Provides mapped attributes setting into 
SAML2IdPAuthModuleConf (#1124)
---
 .../syncope/wa/bootstrap/mapping/AuthModulePropertySourceMapper.java  | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/mapping/AuthModulePropertySourceMapper.java
 
b/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/mapping/AuthModulePropertySourceMapper.java
index f1026051cf..4552662bc4 100644
--- 
a/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/mapping/AuthModulePropertySourceMapper.java
+++ 
b/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/mapping/AuthModulePropertySourceMapper.java
@@ -311,6 +311,10 @@ public class AuthModulePropertySourceMapper extends 
PropertySourceMapper impleme
                 ? TriStateBoolean.UNDEFINED
                 : 
TriStateBoolean.valueOf(conf.getNameIdPolicyAllowCreate().toUpperCase()));
 
+        props.setMappedAttributes(authModuleTO.getItems().stream().
+                map(item -> item.getIntAttrName() + "->" + 
item.getExtAttrName()).
+                collect(Collectors.toList()));
+
         return prefix("cas.authn.pac4j.saml[].", 
CasCoreConfigurationUtils.asMap(props));
     }
 

Reply via email to