/*
- * 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.
const HTTPSOAPTransport* http = dynamic_cast<const HTTPSOAPTransport*>(&transport);
if (http) {
http->setRequestHeader("SOAPAction", "http://www.oasis-open.org/committees/security");
- http->setRequestHeader("Shibboleth", PACKAGE_VERSION);
http->setRequestHeader("Xerces-C", XERCES_FULLVERSIONDOT);
http->setRequestHeader("XML-Security-C", XSEC_VERSION);
http->setRequestHeader("OpenSAML-C", OPENSAML_FULLVERSIONDOT);
issuer->setName(parent->getEntityID());
m_policy.setIssuer(issuer);
m_policy.setIssuerMetadata(m_peer);
+ m_policy.setSecure(true);
}
}
m_policy.evaluate(*(env.get()));