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

fmartelli pushed a commit to branch SYNCOPE-1891
in repository https://gitbox.apache.org/repos/asf/syncope.git

commit 62e663b394ade65d873684ff9844130c683380c7
Author: Fabio <fabio.marte...@tirasa.net>
AuthorDate: Thu Jul 3 12:22:52 2025 +0200

    [SYNCOPE-1891] Provides mapped attributes setting into 
SAML2IdPAuthModuleConf
---
 .../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