Log warning on legacy element
authorscantor <scantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Tue, 31 Jul 2012 15:11:53 +0000 (15:11 +0000)
committerscantor <scantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Tue, 31 Jul 2012 15:11:53 +0000 (15:11 +0000)
git-svn-id: https://svn.shibboleth.net/cpp-sp/branches/REL_2@3742 cb58f699-b61c-0410-a6fe-9272a202ed29

shibsp/impl/XMLServiceProvider.cpp

index de3fb0f..a3efbcc 100644 (file)
@@ -2088,7 +2088,7 @@ XMLConfigImpl::XMLConfigImpl(const DOMElement* e, bool first, XMLConfig* outer,
         // For backward compatibility, wrap in a plugin element.
         DOMElement* polwrapper = e->getOwnerDocument()->createElementNS(nullptr, _SecurityPolicyProvider);
         polwrapper->appendChild(child);
-        log.info("building SecurityPolicyProvider of type %s...", XML_SECURITYPOLICY_PROVIDER);
+        log.warn("deprecated/legacy SecurityPolicy configuration, consider externalizing with <SecurityPolicyProvider>");
         m_policy.reset(conf.SecurityPolicyProviderManager.newPlugin(XML_SECURITYPOLICY_PROVIDER, polwrapper));
     }
     else {