[java-identity-provider] branch master updated: Expose objectStrategy setter.
Scott Cantor
cantor.2 at osu.edu
Thu Apr 5 15:00:17 EDT 2018
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=e78a07aa78d162bd808c40fb2baf5c0b2239583b
The following commit(s) were added to refs/heads/master by this push:
new e78a07a Expose objectStrategy setter.
e78a07a is described below
commit e78a07aa78d162bd808c40fb2baf5c0b2239583b
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Apr 5 15:00:11 2018 -0400
Expose objectStrategy setter.
---
.../spring/saml/impl/MappedAttributeInMetadataRuleParser.java | 5 +++++
idp-schema/src/main/resources/schema/shibboleth-afp.xsd | 8 +++++++-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/idp-attribute-filter-spring/src/main/java/net/shibboleth/idp/attribute/filter/spring/saml/impl/MappedAttributeInMetadataRuleParser.java b/idp-attribute-filter-spring/src/main/java/net/shibboleth/idp/attribute/filter/spring/saml/impl/MappedAttributeInMetadataRuleParser.java
index 9e3be6d..1ef4872 100644
--- a/idp-attribute-filter-spring/src/main/java/net/shibboleth/idp/attribute/filter/spring/saml/impl/MappedAttributeInMetadataRuleParser.java
+++ b/idp-attribute-filter-spring/src/main/java/net/shibboleth/idp/attribute/filter/spring/saml/impl/MappedAttributeInMetadataRuleParser.java
@@ -66,6 +66,11 @@ public class MappedAttributeInMetadataRuleParser extends BaseAttributeValueMatch
builder.addPropertyValue("matchIfMetadataSilent",
StringSupport.trimOrNull(config.getAttributeNS(null, "matchIfMetadataSilent")));
}
+
+ if (config.hasAttributeNS(null, "objectStrategyRef")) {
+ builder.addPropertyReference("objectStrategyRef",
+ StringSupport.trimOrNull(config.getAttributeNS(null, "objectStrategyRef")));
+ }
}
}
\ No newline at end of file
diff --git a/idp-schema/src/main/resources/schema/shibboleth-afp.xsd b/idp-schema/src/main/resources/schema/shibboleth-afp.xsd
index 6a818c7..c72f03e 100644
--- a/idp-schema/src/main/resources/schema/shibboleth-afp.xsd
+++ b/idp-schema/src/main/resources/schema/shibboleth-afp.xsd
@@ -863,7 +863,13 @@
</documentation>
</annotation>
<complexContent>
- <extension base="afp:AttributeInMetadataType" />
+ <extension base="afp:AttributeInMetadataType">
+ <attribute name="objectStrategyRef" type="string" use="optional">
+ <annotation>
+ <documentation>Reference to locate XMLObject source of mapped attributes.</documentation>
+ </annotation>
+ </attribute>
+ </extension>
</complexContent>
</complexType>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list