[java-idp-oidc] branch master updated: Placeholder wiring / property to get transcoders working.

Scott Cantor cantor.2 at osu.edu
Mon Jan 13 13:30:05 EST 2020


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository java-idp-oidc.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-oidc.git;a=commit;h=9de2fbca2d2e07210b760130e6f7fba9e3e8d453

The following commit(s) were added to refs/heads/master by this push:
       new  9de2fbc   Placeholder wiring / property to get transcoders working.
9de2fbc is described below

commit 9de2fbca2d2e07210b760130e6f7fba9e3e8d453
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Jan 13 13:30:03 2020 -0500

    Placeholder wiring / property to get transcoders working.
---
 .../src/test/resources/conf/global-oidc.xml               | 15 +++++++++++++++
 .../src/test/resources/conf/idp-oidc.properties           |  4 +++-
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/idp-oidc-extension-impl/src/test/resources/conf/global-oidc.xml b/idp-oidc-extension-impl/src/test/resources/conf/global-oidc.xml
index d150627..c90f361 100644
--- a/idp-oidc-extension-impl/src/test/resources/conf/global-oidc.xml
+++ b/idp-oidc-extension-impl/src/test/resources/conf/global-oidc.xml
@@ -70,4 +70,19 @@
     <bean id="OIDCScopedStringTranscoder"
         class="org.geant.idpextension.oidc.attribute.transcoding.impl.OIDCScopedStringAttributeTranscoder" />
 
+    <util:map id="OIDCExtendedNamingRegistry">
+        <entry key="#{T(net.minidev.json.JSONObject)}">
+            <bean class="org.geant.idpextension.oidc.attribute.transcoding.AbstractOIDCAttributeTranscoder.NamingFunction" />
+        </entry>
+        <entry key="#{T(org.opensaml.saml.saml2.core.Attribute)}">
+            <bean class="net.shibboleth.idp.saml.attribute.transcoding.AbstractSAML2AttributeTranscoder.NamingFunction" />
+        </entry>
+        <entry key="#{T(org.opensaml.saml.saml1.core.AttributeDesignator)}">
+            <bean class="net.shibboleth.idp.saml.attribute.transcoding.AbstractSAML1AttributeTranscoder.NamingFunction" />
+        </entry>
+        <entry key="#{T(net.shibboleth.idp.cas.attribute.Attribute)}">
+            <bean class="net.shibboleth.idp.cas.attribute.AbstractCASAttributeTranscoder.NamingFunction" />
+        </entry>
+    </util:map>
+
 </beans>
\ No newline at end of file
diff --git a/idp-oidc-extension-impl/src/test/resources/conf/idp-oidc.properties b/idp-oidc-extension-impl/src/test/resources/conf/idp-oidc.properties
index 62640d2..c967249 100644
--- a/idp-oidc-extension-impl/src/test/resources/conf/idp-oidc.properties
+++ b/idp-oidc-extension-impl/src/test/resources/conf/idp-oidc.properties
@@ -4,4 +4,6 @@ idp.signing.oidc.rsa.enc.key = /credentials/idp-encryption-rsa.jwk
 idp.oidc.issuer = https://op.example.org
 idp.oidc.subject.sourceAttribute = uid
 idp.oidc.subject.salt = isfd07fsddfs70sdf9d99s8
-idp.oidc.discovery.template = src/test/resources/conf/openid-configuration.json
\ No newline at end of file
+idp.oidc.discovery.template = src/test/resources/conf/openid-configuration.json
+
+idp.service.attribute.registry.namingRegistry=OIDCExtendedNamingRegistry
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list