This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new 7ccbc32293 [SYNCOPE-1891] Provides mapped attributes setting into
SAML2IdPAuthModuleConf (#1124)
7ccbc32293 is described below
commit 7ccbc322937c4067f546f51c4cf857f7bdc34d45
Author: Fabio Martelli <[email protected]>
AuthorDate: Thu Jul 3 13:35:17 2025 +0200
[SYNCOPE-1891] Provides mapped attributes setting into
SAML2IdPAuthModuleConf (#1124)
---
.../syncope/wa/bootstrap/mapping/AuthModulePropertySourceMapper.java | 3 +++
1 file changed, 3 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 df1d4a1e07..80aebd228b 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
@@ -303,6 +303,9 @@ public class AuthModulePropertySourceMapper extends
PropertySourceMapper impleme
props.setNameIdPolicyAllowCreate(Optional.ofNullable(conf.getNameIdPolicyAllowCreate()).
map(v -> TriStateBoolean.valueOf(v.name())).
orElse(TriStateBoolean.UNDEFINED));
+ props.setMappedAttributes(authModuleTO.getItems().stream().
+ map(item -> item.getIntAttrName() + "->" +
item.getExtAttrName()).
+ toList());
return prefix("cas.authn.pac4j.saml[].", WAConfUtils.asMap(props));
}