SP 2.0: Metadata with EncryptionMethod elements fails to load

Ferenc Wagner wferi at niif.hu
Mon Jan 19 15:52:20 UTC 2009


Hi,

We were hit by https://bugs.internet2.edu/jira/browse/CPPOST-7 hard.
http://svn.middleware.georgetown.edu/view/cpp-opensaml2?view=rev&revision=385
reveals that it's fixed by the short patch

--- trunk/saml/saml2/metadata/impl/MetadataSchemaValidators.cpp	2008/03/22 19:46:17	384
+++ trunk/saml/saml2/metadata/impl/MetadataSchemaValidators.cpp	2008/03/25 20:15:39	385
@@ -326,6 +326,9 @@
     REGISTER_TYPE(RequestedAttribute);
     REGISTER_TYPE(SPSSODescriptor);
 
+    q=QName(SAML20MD_NS,xmlencryption::EncryptionMethod::LOCAL_NAME);
+    XMLObjectBuilder::registerBuilder(q,new xmlencryption::EncryptionMethodBuilder());
+    
     q=QName(samlconstants::SAML1MD_NS,SourceID::LOCAL_NAME);
     XMLObjectBuilder::registerBuilder(q,new SourceIDBuilder());
     SchemaValidators.registerValidator(q,new SourceIDSchemaValidator());

Russ, do you think we could possibly push this fix into Lenny?

(And congrats for the TC membership!  So can we have 2.1 in Lenny now? :)
-- 
Cheers,
Feri.



More information about the Pkg-shibboleth-devel mailing list