[SCM] Debian packaging for OpenSAML 2.0 branch, lenny, updated. upstream/2.0-41-g2152b1a

Ferenc Wagner wferi at niif.hu
Tue Jan 20 20:04:43 UTC 2009


The following commit has been merged in the lenny branch:
commit 2152b1a93387483314bff012b46de1ec30c8733e
Author: Ferenc Wagner <wferi at niif.hu>
Date:   Tue Jan 20 20:54:12 2009 +0100

    Include fix for https://bugs.internet2.edu/jira/browse/CPPOST-7
    
    Upstream title: Metadata with EncryptionMethod elements fails to load

diff --git a/debian/changelog b/debian/changelog
index f2c4bba..be8c190 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+opensaml2 (2.0-2) unstable; urgency=low
+
+  * Include fix for https://bugs.internet2.edu/jira/browse/CPPOST-7
+    (Metadata with EncryptionMethod elements fails to load)
+
+ -- Ferenc Wagner <wferi at niif.hu>  Tue, 20 Jan 2009 20:50:28 +0100
+
 opensaml2 (2.0-1) unstable; urgency=low
 
   [ Ferenc Wagner ]
diff --git a/saml/saml2/metadata/impl/MetadataSchemaValidators.cpp b/saml/saml2/metadata/impl/MetadataSchemaValidators.cpp
index 2d8294a..79cf31e 100644
--- a/saml/saml2/metadata/impl/MetadataSchemaValidators.cpp
+++ b/saml/saml2/metadata/impl/MetadataSchemaValidators.cpp
@@ -326,6 +326,9 @@ void opensaml::saml2md::registerMetadataClasses() {
     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());

-- 
Debian packaging for OpenSAML 2.0



More information about the Pkg-shibboleth-devel mailing list