[java-identity-provider] branch main updated: IDP-2097 - Parent beans for metadata tag access

Scott Cantor cantor.2 at osu.edu
Thu May 4 12:54:26 UTC 2023


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=499b0218661fc3c71f9f2d03f9f52bcada119b84

The following commit(s) were added to refs/heads/main by this push:
     new 499b02186 IDP-2097 - Parent beans for metadata tag access
499b02186 is described below

commit 499b0218661fc3c71f9f2d03f9f52bcada119b84
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu May 4 08:54:22 2023 -0400

    IDP-2097 - Parent beans for metadata tag access
    
    https://shibboleth.atlassian.net/browse/IDP-2097
---
 .../net/shibboleth/idp/conf/functions.xml          | 29 +++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/functions.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/functions.xml
index c434123e7..1dbc52a87 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/functions.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/functions.xml
@@ -178,7 +178,6 @@
         </constructor-arg>
     </bean>
 
-
     <bean id="shibboleth.IssuerLookup.Simple"
         class="net.shibboleth.profile.context.navigate.IssuerLookupFunction" />
     <alias alias="shibboleth.ResponderIdLookup.Simple" name="shibboleth.IssuerLookup.Simple" />
@@ -190,5 +189,33 @@
         class="net.shibboleth.idp.authn.context.navigate.SubjectContextPrincipalLookupFunction" />
     <bean id="shibboleth.PrincipalNameLookup.Session"
         class="net.shibboleth.idp.session.context.navigate.SessionContextPrincipalLookupFunction" />
+    
+    <!-- Parent beans for metadata tag lookup. -->
+    <bean id="shibboleth.AbstractTagLookup" abstract="true"
+        p:profileMetadataLookupStrategy-ref="shibboleth.EntityDescriptorLookup.RelyingParty"
+        p:explicitPropertyName="true"
+        p:enableCaching="false" />
         
+    <bean id="shibboleth.TagLookupString" abstract="true" parent="shibboleth.AbstractTagLookup"
+        class="net.shibboleth.idp.attribute.config.StringConfigurationLookupStrategy" />
+    <bean id="shibboleth.TagLookupBoolean" abstract="true" parent="shibboleth.AbstractTagLookup"
+        class="net.shibboleth.idp.attribute.config.BooleanConfigurationLookupStrategy" />
+    <bean id="shibboleth.TagLookupInteger" abstract="true" parent="shibboleth.AbstractTagLookup"
+        class="net.shibboleth.idp.attribute.config.IntegerConfigurationLookupStrategy" />
+    <bean id="shibboleth.TagLookupLong" abstract="true" parent="shibboleth.AbstractTagLookup"
+        class="net.shibboleth.idp.attribute.config.LongConfigurationLookupStrategy" />
+    <bean id="shibboleth.TagLookupDouble" abstract="true" parent="shibboleth.AbstractTagLookup"
+        class="net.shibboleth.idp.attribute.config.DoubleConfigurationLookupStrategy" />
+    <bean id="shibboleth.TagLookupDuration" abstract="true" parent="shibboleth.AbstractTagLookup"
+        class="net.shibboleth.idp.attribute.config.DurationConfigurationLookupStrategy" />
+    <bean id="shibboleth.TagLookupList" abstract="true" parent="shibboleth.AbstractTagLookup"
+        class="net.shibboleth.idp.attribute.config.ListConfigurationLookupStrategy"
+        p:propertyType="#{T(java.lang.String)}" />
+    <bean id="shibboleth.TagLookupSet" abstract="true" parent="shibboleth.AbstractTagLookup"
+        class="net.shibboleth.idp.attribute.config.SetConfigurationLookupStrategy"
+        p:propertyType="#{T(java.lang.String)}" />
+    <bean id="shibboleth.TagLookupBean" abstract="true" parent="shibboleth.AbstractTagLookup"
+        class="net.shibboleth.idp.attribute.config.BeanConfigurationLookupStrategy" />
+    
+    
 </beans>

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


More information about the commits mailing list