X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=saml%2Fbinding%2Fimpl%2FXMLSigningRule.cpp;fp=saml%2Fbinding%2Fimpl%2FMessageSigningRule.cpp;h=cad0e6d32631f5ca4215a9454a84354423dc3a71;hp=6b9eedffc29ff1e4b55ea536fbabd83d2da7dce1;hb=9e5f5fd6b4d0dfd3cb062e98dcb087640bf82414;hpb=0cd2ac24566bb0881143d8a9a3428292e6ad19a8 diff --git a/saml/binding/impl/MessageSigningRule.cpp b/saml/binding/impl/XMLSigningRule.cpp similarity index 94% rename from saml/binding/impl/MessageSigningRule.cpp rename to saml/binding/impl/XMLSigningRule.cpp index 6b9eedf..cad0e6d 100644 --- a/saml/binding/impl/MessageSigningRule.cpp +++ b/saml/binding/impl/XMLSigningRule.cpp @@ -15,7 +15,7 @@ */ /** - * MessageSigningRule.cpp + * XMLSigningRule.cpp * * XML Signature checking SecurityPolicyRule */ @@ -23,7 +23,7 @@ #include "internal.h" #include "exceptions.h" #include "RootObject.h" -#include "binding/MessageSigningRule.h" +#include "binding/XMLSigningRule.h" #include "saml1/core/Assertions.h" #include "saml1/core/Protocols.h" #include "saml2/core/Protocols.h" @@ -42,13 +42,13 @@ using namespace log4cpp; using namespace std; namespace opensaml { - SecurityPolicyRule* SAML_DLLLOCAL MessageSigningRuleFactory(const DOMElement* const & e) + SecurityPolicyRule* SAML_DLLLOCAL XMLSigningRuleFactory(const DOMElement* const & e) { - return new MessageSigningRule(e); + return new XMLSigningRule(e); } }; -pair MessageSigningRule::evaluate( +pair XMLSigningRule::evaluate( const GenericRequest& request, const XMLObject& message, const MetadataProvider* metadataProvider, @@ -56,7 +56,7 @@ pair MessageSigningRule::evaluate const opensaml::TrustEngine* trustEngine ) const { - Category& log=Category::getInstance(SAML_LOGCAT".SecurityPolicyRule.MessageSigning"); + Category& log=Category::getInstance(SAML_LOGCAT".SecurityPolicyRule.XMLSigning"); log.debug("evaluating message signing policy"); pair ret = pair(NULL,NULL); @@ -118,7 +118,7 @@ pair MessageSigningRule::evaluate return ret; } -pair MessageSigningRule::getIssuerAndProtocol(const XMLObject& message) const +pair XMLSigningRule::getIssuerAndProtocol(const XMLObject& message) const { // We just let any bad casts throw here.