#ifndef __saml_soap11client_h__
#define __saml_soap11client_h__
-#include <saml/saml2/metadata/MetadataCredentialCriteria.h>
+#include <saml/base.h>
#include <xmltooling/soap/SOAPClient.h>
namespace opensaml {
class SAML_API SecurityPolicy;
+ namespace saml2md {
+ class SAML_API MetadataCredentialCriteria;
+ };
/**
* Specialized SOAPClient for SAML SOAP bindings.
*/
SOAPClient(SecurityPolicy& policy);
- virtual ~SOAPClient() {}
+ virtual ~SOAPClient();
/**
* Controls whether to force transport/peer authentication via an X509TrustEngine.
*
* @param force true iff the client should refuse to communicate without this protection
*/
- void forceTransportAuthentication(bool force=true) {
- m_force = force;
- }
+ void forceTransportAuthentication(bool force=true);
using soap11::SOAPClient::send;
*
* @return the associated SecurityPolicy
*/
- SecurityPolicy& getPolicy() const {
- return m_policy;
- }
+ SecurityPolicy& getPolicy() const;
protected:
/**