Reducing header overuse, non-inlining selected methods (CPPOST-35).
authorScott Cantor <cantor.2@osu.edu>
Sat, 26 Sep 2009 04:33:38 +0000 (04:33 +0000)
committerScott Cantor <cantor.2@osu.edu>
Sat, 26 Sep 2009 04:33:38 +0000 (04:33 +0000)
12 files changed:
apache/mod_apache.cpp
memcache-store/memcache-store.cpp
nsapi_shib/nsapi_shib.cpp
shibsp/attribute/KeyInfoAttributeDecoder.cpp
shibsp/binding/impl/ArtifactResolver.cpp
shibsp/handler/impl/MetadataGenerator.cpp
shibsp/impl/ChainingAccessControl.cpp
shibsp/impl/StorageServiceSessionCache.cpp
shibsp/impl/XMLAccessControl.cpp
shibsp/impl/XMLRequestMapper.cpp
shibsp/impl/XMLServiceProvider.cpp
shibsp/metadata/DynamicMetadataProvider.cpp

index 661b448..a633501 100644 (file)
@@ -69,6 +69,7 @@
 #include <apr_pools.h>
 #endif
 
+#include <set>
 #include <memory>
 #include <fstream>
 #include <sstream>
index c208108..270eb79 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- *  Copyright 2001-2008 Internet2\r
+ *  Copyright 2001-2009 Internet2\r
  * \r
  * Licensed under the Apache License, Version 2.0 (the "License");\r
  * you may not use this file except in compliance with the License.\r
@@ -36,6 +36,7 @@
 \r
 #include <xmltooling/base.h>\r
 \r
+#include <list>\r
 #include <iostream> \r
 #include <libmemcached/memcached.h>\r
 #include <xercesc/util/XMLUniDefs.hpp>\r
index 960409d..2d90a83 100644 (file)
@@ -45,6 +45,7 @@
 #include <xmltooling/util/XMLHelper.h>
 #include <xercesc/util/XMLUniDefs.hpp>
 
+#include <set>
 #include <memory>
 #include <fstream>
 #include <sstream>
index 3ab80f2..5857952 100644 (file)
@@ -26,6 +26,9 @@
 \r
 #include <saml/saml1/core/Assertions.h>\r
 #include <saml/saml2/core/Assertions.h>\r
+#include <xmltooling/XMLToolingConfig.h>\r
+#include <xmltooling/security/Credential.h>\r
+#include <xmltooling/security/KeyInfoResolver.h>\r
 #include <xmltooling/security/SecurityHelper.h>\r
 #include <xmltooling/signature/KeyInfo.h>\r
 \r
index 52e68fc..3322fc2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2001-2007 Internet2
+ *  Copyright 2001-2009 Internet2
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -32,6 +32,7 @@
 #include <saml/saml2/core/Protocols.h>
 #include <saml/saml2/binding/SAML2Artifact.h>
 #include <saml/saml2/binding/SAML2SOAPClient.h>
+#include <saml/saml2/metadata/Metadata.h>
 #include <saml/saml2/metadata/MetadataCredentialCriteria.h>
 #include <saml/util/SAMLConstants.h>
 
index 2a847cb..165f95b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2001-2007 Internet2
+ *  Copyright 2001-2009 Internet2
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -29,6 +29,7 @@
 
 #ifndef SHIBSP_LITE
 # include "metadata/MetadataProviderCriteria.h"
+# include <xmltooling/XMLToolingConfig.h>
 # include <xmltooling/util/PathResolver.h>
 #endif
 
index 8b73906..3e431c1 100644 (file)
@@ -26,6 +26,8 @@
 #include "SessionCache.h"\r
 #include "SPRequest.h"\r
 \r
+#include <algorithm>\r
+#include <xmltooling/unicode.h>\r
 #include <xmltooling/util/XMLHelper.h>\r
 #include <xercesc/util/XMLUniDefs.hpp>\r
 \r
index 27f7610..827163f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2001-2007 Internet2
+ *  Copyright 2001-2009 Internet2
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -38,6 +38,7 @@
 #include "remoting/ListenerService.h"
 #include "util/SPConstants.h"
 
+#include <algorithm>
 #include <xmltooling/util/NDC.h>
 #include <xmltooling/util/XMLHelper.h>
 #include <xercesc/util/XMLUniDefs.hpp>
index 5d9d352..9c2e4ca 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- *  Copyright 2001-2007 Internet2\r
+ *  Copyright 2001-2009 Internet2\r
  *\r
  * Licensed under the Apache License, Version 2.0 (the "License");\r
  * you may not use this file except in compliance with the License.\r
@@ -27,6 +27,8 @@
 #include "SPRequest.h"\r
 #include "attribute/Attribute.h"\r
 \r
+#include <algorithm>\r
+#include <xmltooling/unicode.h>\r
 #include <xmltooling/util/ReloadableXMLFile.h>\r
 #include <xmltooling/util/XMLHelper.h>\r
 #include <xercesc/util/XMLUniDefs.hpp>\r
index 78e6edf..304cb9f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2001-2007 Internet2
+ *  Copyright 2001-2009 Internet2
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -16,7 +16,7 @@
 
 /** XMLRequestMapper.cpp
  *
- * XML-based RequestMapper implementation
+ * XML-based RequestMapper implementation.
  */
 
 #include "internal.h"
@@ -27,6 +27,7 @@
 #include "util/DOMPropertySet.h"
 #include "util/SPConstants.h"
 
+#include <algorithm>
 #include <xmltooling/util/NDC.h>
 #include <xmltooling/util/ReloadableXMLFile.h>
 #include <xmltooling/util/XMLHelper.h>
index 5b9de5f..b8b2fab 100644 (file)
@@ -17,7 +17,7 @@
 /**
  * XMLServiceProvider.cpp
  *
- * XML-based SP configuration and mgmt
+ * XML-based SP configuration and mgmt.
  */
 
 #include "internal.h"
@@ -42,6 +42,7 @@
 #else
 # error "Supported logging library not available."
 #endif
+#include <algorithm>
 #include <xercesc/util/XMLUniDefs.hpp>
 #include <xmltooling/XMLToolingConfig.h>
 #include <xmltooling/version.h>
index 9e583e4..9b03d7c 100644 (file)
 #include <saml/saml2/metadata/DynamicMetadataProvider.h>
 
 #include <xmltooling/logging.h>
-#include <xmltooling/util/NDC.h>
+#include <xmltooling/XMLToolingConfig.h>
 #include <xmltooling/security/Credential.h>
 #include <xmltooling/security/CredentialCriteria.h>
 #include <xmltooling/security/CredentialResolver.h>
 #include <xmltooling/security/X509TrustEngine.h>
 #include <xmltooling/soap/HTTPSOAPTransport.h>
+#include <xmltooling/util/NDC.h>
 #include <xmltooling/util/XMLHelper.h>
 
 #include <xercesc/framework/Wrapper4InputSource.hpp>
@@ -135,7 +136,7 @@ saml2md::EntityDescriptor* DynamicMetadataProvider::resolve(const saml2md::Metad
         name = temp.get();
     }
     else if (criteria.artifact) {
-        throw saml2md::MetadataException("Unable to resolve metadata dynamically from an artifact.");\r
+        throw saml2md::MetadataException("Unable to resolve metadata dynamically from an artifact.");
     }
 
     // Establish networking properties based on calling application.