[java-identity-provider] branch maint-4 updated: IDP-2054 - Add per-SP salt for computedId connector

Scott Cantor cantor.2 at osu.edu
Wed Dec 14 15:06:56 UTC 2022


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

scantor pushed a commit to branch maint-4
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=64b5051653bc35cfa1b03f0dee857acd30058258

The following commit(s) were added to refs/heads/maint-4 by this push:
     new 64b505165 IDP-2054 - Add per-SP salt for computedId connector
64b505165 is described below

commit 64b5051653bc35cfa1b03f0dee857acd30058258
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Dec 14 10:06:53 2022 -0500

    IDP-2054 - Add per-SP salt for computedId connector
    
    https://shibboleth.atlassian.net/browse/IDP-2054
    
    Accomodate both encodedSalt and lookup strategy in StoredId parser.
---
 .../attribute/resolver/spring/dc/impl/StoredIdDataConnectorParser.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/dc/impl/StoredIdDataConnectorParser.java b/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/dc/impl/StoredIdDataConnectorParser.java
index a30e8979f..8528c890e 100644
--- a/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/dc/impl/StoredIdDataConnectorParser.java
+++ b/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/dc/impl/StoredIdDataConnectorParser.java
@@ -107,7 +107,8 @@ public class StoredIdDataConnectorParser extends ComputedIdDataConnectorParser {
                     SpringSupport.getAttributeValueAsList(config.getAttributeNodeNS(null, "retryableErrors")));
         }
 
-        if (config.hasAttributeNS(null, "salt")) {
+        if (config.hasAttributeNS(null, "salt") || config.hasAttributeNS(null, "encodedSalt") ||
+                config.hasAttributeNS(null, "saltLookupStrategyRef")) {
             builder.addPropertyValue("initialValueStore", doComputedPairwiseIdStore(config, parserContext));
         }
         

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


More information about the commits mailing list