/*
- * Copyright 2001-2007 Internet2
- *
+ * Copyright 2001-2010 Internet2
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
/**
* @file saml/saml1/profile/BrowserSSOProfileValidator.h
- *
- * SAML 1.x Browser SSO Profile Assertion Validator
+ *
+ * SAML 1.x Browser SSO Profile Assertion Validator.
*/
#ifndef __saml1_ssoval_h__
namespace opensaml {
namespace saml1 {
-
+
/**
+ * @deprecated
* SAML 1.x Browser SSO Profile Assertion Validator
*
* <p>In addition to standard core requirements for validity, SSO assertions
public:
/**
* Constructor
- *
- * @param audiences set of audience values representing recipient
+ *
+ * @recipient name of assertion recipient (implicit audience)
+ * @param audiences additional audience values
* @param ts timestamp to evaluate assertion conditions, or 0 to bypass check
*/
- BrowserSSOProfileValidator(const std::vector<const XMLCh*>& audiences, time_t ts=0)
- : AssertionValidator(audiences, ts) {
- }
- virtual ~BrowserSSOProfileValidator() {}
-
+ BrowserSSOProfileValidator(const XMLCh* recipient, const std::vector<const XMLCh*>* audiences=nullptr, time_t ts=0);
+
+ virtual ~BrowserSSOProfileValidator();
+
void validateAssertion(const Assertion& assertion) const;
};
-
+
};
};