[java-identity-provider] branch main updated: IDP-1674 - Allow override of table name on StoredId connector

Scott Cantor cantor.2 at osu.edu
Tue Oct 20 17:24:59 UTC 2020


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=c9aec8ace0d21fd5a39cfaf2d348b5ad1b748424

The following commit(s) were added to refs/heads/main by this push:
       new  c9aec8ace IDP-1674 - Allow override of table name on StoredId connector
c9aec8ace is described below

commit c9aec8ace0d21fd5a39cfaf2d348b5ad1b748424
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Oct 20 13:24:56 2020 -0400

    IDP-1674 - Allow override of table name on StoredId connector
    
    https://issues.shibboleth.net/jira/browse/IDP-1674
    
    Additional fix, adds a generic parent bean for impl class hiding.
---
 .../src/main/resources/net/shibboleth/idp/conf/primitives.xml         | 4 ++++
 .../src/main/resources/net/shibboleth/idp/conf/saml-nameid-system.xml | 3 +--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/primitives.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/primitives.xml
index 97c60ee4e..541656d42 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/primitives.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/primitives.xml
@@ -54,4 +54,8 @@
     <bean id="shibboleth.Metadata.Index.Endpoint.Predicate.ByRoleAndEndpoint" lazy-init="true"
         class="org.opensaml.saml.metadata.resolver.index.impl.EndpointMetadataIndex.DefaultEndpointSelectionPredicate" />
 
+    <!-- Parent bean for users to configure a custom ID store rather than a data source only. -->
+    <bean id="shibboleth.JDBCPairwiseIdStore" abstract="true"
+        class="net.shibboleth.idp.attribute.impl.JDBCPairwiseIdStore" />
+
 </beans>
diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/saml-nameid-system.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/saml-nameid-system.xml
index 1f06c5c8d..ecb49dfd5 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/saml-nameid-system.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/saml-nameid-system.xml
@@ -85,8 +85,7 @@
     </bean>    
     
     <!-- Parent bean for users to configure a custom ID store rather than a data source only. -->
-    <bean id="shibboleth.JDBCPersistentIdStore" abstract="true"
-        class="net.shibboleth.idp.attribute.impl.JDBCPairwiseIdStore"
+    <bean id="shibboleth.JDBCPersistentIdStore" parent="shibboleth.JDBCPairwiseIdStore" abstract="true"
         p:initialValueStore="#{getObject('%{idp.persistentId.computed:shibboleth.ComputedPersistentIdGenerator}'.trim())}" />
     
     <!--

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


More information about the commits mailing list