[java-identity-provider] branch main updated: Add NameID transcoders for use by SP, may or may not leverage in IdP.
Scott Cantor
cantor.2 at osu.edu
Wed Sep 24 15:01:12 UTC 2025
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=981d63025408e4163b89aed4adcc1289b56d3ed9
The following commit(s) were added to refs/heads/main by this push:
new 981d63025 Add NameID transcoders for use by SP, may or may not leverage in IdP.
981d63025 is described below
commit 981d63025408e4163b89aed4adcc1289b56d3ed9
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Sep 24 11:00:38 2025 -0400
Add NameID transcoders for use by SP, may or may not leverage in IdP.
---
.../net/shibboleth/idp/conf/attribute-registry-system.xml | 7 +++++++
.../src/main/resources/net/shibboleth/idp/conf/global-system.xml | 6 ++++++
2 files changed, 13 insertions(+)
diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/attribute-registry-system.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/attribute-registry-system.xml
index 1f56dfb27..532e8c86a 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/attribute-registry-system.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/attribute-registry-system.xml
@@ -35,6 +35,12 @@
class="net.shibboleth.idp.saml.attribute.transcoding.impl.SAML2DateTimeAttributeTranscoder"
p:nameFromMetadataLookupStrategy-ref="SAML2MetadataNamingStrategy" />
+ <bean id="SAML2StringNameIDTranscoder"
+ class="net.shibboleth.idp.saml.saml2.nameid.transcoding.impl.SAML2StringNameIDTranscoder" />
+
+ <bean id="SAML2ScopedStringNameIDTranscoder"
+ class="net.shibboleth.idp.saml.saml2.nameid.transcoding.impl.SAML2ScopedStringNameIDTranscoder" />
+
<bean id="SAML1MetadataNamingStrategy" parent="shibboleth.TagLookupSet"
p:profileMetadataLookupStrategy-ref="shibboleth.EntityDescriptorLookup.RelyingParty"
p:propertyName="#{T(net.shibboleth.idp.saml.attribute.transcoding.SAML1AttributeTranscoder).METADATA_TAG_NAME}"
@@ -54,6 +60,7 @@
<bean id="SAML1XMLObjectTranscoder"
class="net.shibboleth.idp.saml.attribute.transcoding.impl.SAML1XMLObjectAttributeTranscoder"
p:nameFromMetadataLookupStrategy-ref="SAML1MetadataNamingStrategy" />
+
<bean id="CASMetadataNamingStrategy" parent="shibboleth.TagLookupSet"
p:profileMetadataLookupStrategy-ref="shibboleth.EntityDescriptorLookup.RelyingParty"
diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/global-system.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/global-system.xml
index 2584bac47..29c2ac5c6 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/global-system.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/global-system.xml
@@ -511,6 +511,12 @@
<bean class="net.shibboleth.idp.cas.attribute.AbstractCASAttributeTranscoder.NamingFunction" />
</constructor-arg>
</bean>
+
+ <bean parent="shibboleth.RegistryNamingFunction" c:claz="org.opensaml.saml.saml2.core.NameID">
+ <constructor-arg name="function">
+ <bean class="net.shibboleth.idp.saml.saml2.nameid.transcoding.AbstractSAML2NameIDTranscoder.NamingFunction" />
+ </constructor-arg>
+ </bean>
<!-- Bean to inject into any view where we need Attribute assistance. -->
<alias name="%{idp.attribute.helper:shibboleth.DefaultAttributeHelper}" alias="shibboleth.AttributeHelper"/>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list