[cpp-xmltooling COMMIT] in /branches/REL_1: cpp-xmltooling.sln xmltooling/Makefile.am xmltooling/XMLToolingConfig.cpp...

noreply at shibboleth.net noreply at shibboleth.net
Sun Sep 4 02:33:45 BST 2011


Author: scantor
Date: Sun Sep  4 02:33:44 2011
New Revision: 904

URL: http://svn.shibboleth.net/view/cpp-xmltooling?rev=904&view=rev
Log:
https://issues.shibboleth.net/jira/browse/CPPXT-70

Added:
    branches/REL_1/xmltooling/security/OpenSSLPathValidator.h
    branches/REL_1/xmltooling/security/PKIXPathValidatorParams.h
    branches/REL_1/xmltooling/security/PathValidator.h
    branches/REL_1/xmltooling/security/impl/PKIXPathValidator.cpp
Modified:
    branches/REL_1/cpp-xmltooling.sln
    branches/REL_1/xmltooling/Makefile.am
    branches/REL_1/xmltooling/XMLToolingConfig.cpp
    branches/REL_1/xmltooling/XMLToolingConfig.h
    branches/REL_1/xmltooling/internal.h
    branches/REL_1/xmltooling/security/AbstractPKIXTrustEngine.h
    branches/REL_1/xmltooling/security/impl/AbstractPKIXTrustEngine.cpp
    branches/REL_1/xmltooling/soap/SOAPTransport.h
    branches/REL_1/xmltooling/soap/impl/CURLSOAPTransport.cpp
    branches/REL_1/xmltooling/soap/impl/SOAPClient.cpp
    branches/REL_1/xmltooling/util/Threads.h
    branches/REL_1/xmltooling/xmltooling.vcxproj
    branches/REL_1/xmltooling/xmltooling.vcxproj.filters

Modified: branches/REL_1/cpp-xmltooling.sln
URL: http://svn.shibboleth.net/view/cpp-xmltooling/branches/REL_1/cpp-xmltooling.sln?rev=904&r1=903&r2=904&view=diff
==============================================================================
--- branches/REL_1/cpp-xmltooling.sln (original)
+++ branches/REL_1/cpp-xmltooling.sln Sun Sep  4 02:33:44 2011
@@ -12,7 +12,6 @@
 		doxygen.cfg = doxygen.cfg
 		m4\doxygen.m4 = m4\doxygen.m4
 		Makefile.am = Makefile.am
-		xmltooling.spec.in = xmltooling.spec.in
 	EndProjectSection
 EndProject
 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Schemas", "Schemas", "{23EF5C29-2A13-4F73-99D1-96B8120F148E}"
@@ -75,7 +74,6 @@
 		doc\LICENSE.txt = doc\LICENSE.txt
 		doc\LOG4CPP.LICENSE = doc\LOG4CPP.LICENSE
 		doc\Makefile.am = doc\Makefile.am
-		doc\NOTICE.txt = doc\NOTICE.txt
 		doc\OPENSSL.LICENSE = doc\OPENSSL.LICENSE
 		doc\README.txt = doc\README.txt
 	EndProjectSection

Modified: branches/REL_1/xmltooling/Makefile.am
URL: http://svn.shibboleth.net/view/cpp-xmltooling/branches/REL_1/xmltooling/Makefile.am?rev=904&r1=903&r2=904&view=diff
==============================================================================
--- branches/REL_1/xmltooling/Makefile.am (original)
+++ branches/REL_1/xmltooling/Makefile.am Sun Sep  4 02:33:44 2011
@@ -78,6 +78,9 @@
 	security/KeyInfoCredentialContext.h \
 	security/KeyInfoResolver.h \
 	security/OpenSSLCredential.h \
+	security/OpenSSLPathValidator.h \
+	security/PathValidator.h \
+	security/PKIXPathValidatorParams.h \
 	security/SecurityHelper.h \
 	security/SignatureTrustEngine.h \
 	security/TrustEngine.h \
@@ -143,6 +146,7 @@
 	security/impl/InlineKeyResolver.cpp \
 	security/impl/KeyInfoResolver.cpp \
 	security/impl/OpenSSLCryptoX509CRL.cpp \
+	security/impl/PKIXPathValidator.cpp \
 	security/impl/SecurityHelper.cpp \
 	security/impl/StaticPKIXTrustEngine.cpp \
 	security/impl/TrustEngine.cpp \

Modified: branches/REL_1/xmltooling/XMLToolingConfig.cpp
URL: http://svn.shibboleth.net/view/cpp-xmltooling/branches/REL_1/xmltooling/XMLToolingConfig.cpp?rev=904&r1=903&r2=904&view=diff
==============================================================================
--- branches/REL_1/xmltooling/XMLToolingConfig.cpp (original)
+++ branches/REL_1/xmltooling/XMLToolingConfig.cpp Sun Sep  4 02:33:44 2011
@@ -36,9 +36,11 @@
 #include "security/OpenSSLCryptoX509CRL.h"
 #include "security/CredentialResolver.h"
 #include "security/KeyInfoResolver.h"
+#include "security/PathValidator.h"
 #include "signature/KeyInfo.h"
 #include "signature/Signature.h"
 #include "soap/SOAP.h"
+#include "soap/SOAPTransport.h"
 #include "util/NDC.h"
 #include "util/PathResolver.h"
 #include "util/ReplayCache.h"
@@ -453,15 +455,19 @@
         REGISTER_XMLTOOLING_EXCEPTION_FACTORY(EncryptionException,xmlencryption);
         registerKeyInfoClasses();
         registerEncryptionClasses();
+        registerCredentialResolvers();
         registerKeyInfoResolvers();
-        registerCredentialResolvers();
+        registerPathValidators();
         registerTrustEngines();
         registerXMLAlgorithms();
+        m_keyInfoResolver = KeyInfoResolverManager.newPlugin(INLINE_KEYINFO_RESOLVER,nullptr);
+#endif
+
+#ifndef XMLTOOLING_LITE
+        registerStorageServices();
+#endif
         registerSOAPTransports();
         initSOAPTransports();
-        registerStorageServices();
-        m_keyInfoResolver = KeyInfoResolverManager.newPlugin(INLINE_KEYINFO_RESOLVER,nullptr);
-#endif
 
         m_pathResolver = new PathResolver();
         m_urlEncoder = new URLEncoder();
@@ -522,10 +528,14 @@
     XMLToolingException::deregisterFactories();
     AttributeExtensibleXMLObject::deregisterIDAttributes();
 
-#ifndef XMLTOOLING_NO_XMLSEC
-    StorageServiceManager.deregisterFactories();
     termSOAPTransports();
     SOAPTransportManager.deregisterFactories();
+
+#ifndef XMLTOOLING_LITE
+    StorageServiceManager.deregisterFactories();
+#endif
+

[... 980 lines stripped ...]


More information about the commits mailing list