X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=saml%2Fbinding%2Fimpl%2FSecurityPolicy.cpp;h=2bae01d4e11bfafddff76643f4758e8712fcd1f2;hp=343687dc99b83b76e5f92ca806c6d4b993f86ade;hb=96437360be3fa1f0c182bdd13b54e00110e45f11;hpb=99156c335b5f553a38749d8e10000d1b4ccf3a3b diff --git a/saml/binding/impl/SecurityPolicy.cpp b/saml/binding/impl/SecurityPolicy.cpp index 343687d..2bae01d 100644 --- a/saml/binding/impl/SecurityPolicy.cpp +++ b/saml/binding/impl/SecurityPolicy.cpp @@ -35,8 +35,6 @@ namespace opensaml { SAML_DLLLOCAL PluginManager::Factory ClientCertAuthRuleFactory; SAML_DLLLOCAL PluginManager::Factory MessageFlowRuleFactory; SAML_DLLLOCAL PluginManager::Factory NullSecurityRuleFactory; - SAML_DLLLOCAL PluginManager::Factory SAML1MessageRuleFactory; - SAML_DLLLOCAL PluginManager::Factory SAML2MessageRuleFactory; SAML_DLLLOCAL PluginManager::Factory SimpleSigningRuleFactory; SAML_DLLLOCAL PluginManager::Factory XMLSigningRuleFactory; }; @@ -47,8 +45,6 @@ void SAML_API opensaml::registerSecurityPolicyRules() conf.SecurityPolicyRuleManager.registerFactory(CLIENTCERTAUTH_POLICY_RULE, ClientCertAuthRuleFactory); conf.SecurityPolicyRuleManager.registerFactory(MESSAGEFLOW_POLICY_RULE, MessageFlowRuleFactory); conf.SecurityPolicyRuleManager.registerFactory(NULLSECURITY_POLICY_RULE, NullSecurityRuleFactory); - conf.SecurityPolicyRuleManager.registerFactory(SAML1MESSAGE_POLICY_RULE, SAML1MessageRuleFactory); - conf.SecurityPolicyRuleManager.registerFactory(SAML2MESSAGE_POLICY_RULE, SAML2MessageRuleFactory); conf.SecurityPolicyRuleManager.registerFactory(SIMPLESIGNING_POLICY_RULE, SimpleSigningRuleFactory); conf.SecurityPolicyRuleManager.registerFactory(XMLSIGNING_POLICY_RULE, XMLSigningRuleFactory); } @@ -69,14 +65,14 @@ void SecurityPolicy::reset(bool messageOnly) delete m_issuer; m_issuer=NULL; m_issuerRole=NULL; - m_secure=false; + m_authenticated=false; } } -void SecurityPolicy::evaluate(const XMLObject& message, const GenericRequest* request, const XMLCh* protocol) +void SecurityPolicy::evaluate(const XMLObject& message, const GenericRequest* request) { for (vector::const_iterator i=m_rules.begin(); i!=m_rules.end(); ++i) - (*i)->evaluate(message,request,protocol,*this); + (*i)->evaluate(message,request,*this); } void SecurityPolicy::setIssuer(const Issuer* issuer)