Update copyright.
[shibboleth/cpp-opensaml.git] / saml / binding / ClientCertAuthRule.h
index 287f0e4..e878c48 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2001-2006 Internet2
+ *  Copyright 2001-2007 Internet2
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -20,6 +20,9 @@
  * TLS client authentication SecurityPolicyRule
  */
 
+#ifndef __saml_certrule_h__
+#define __saml_certrule_h__
+
 #include <saml/binding/SecurityPolicyRule.h>
 
 
@@ -33,14 +36,8 @@ namespace opensaml {
         ClientCertAuthRule(const DOMElement* e) {}
         virtual ~ClientCertAuthRule() {}
         
-        std::pair<saml2::Issuer*,const saml2md::RoleDescriptor*> evaluate(
-            const GenericRequest& request,
-            const xmltooling::XMLObject& message,
-            const saml2md::MetadataProvider* metadataProvider,
-            const xmltooling::QName* role,
-            const TrustEngine* trustEngine,
-            const MessageExtractor& extractor
-            ) const;
+        void evaluate(const xmltooling::XMLObject& message, const GenericRequest* request, SecurityPolicy& policy) const;
     };
-    
 };
+
+#endif /* __saml_certrule_h__ */