X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=saml%2Fbinding%2FSOAPClient.h;h=0941a6c558f14723f28cf12cecc15f700db753d5;hp=3fc9fd1d2c83c12195afb36cb8edb8538d73fcfa;hb=d8a4f024b89272eae00618fc39e6127b6c191edd;hpb=9f10292e987cc822929bb83f9462e21874b9863a diff --git a/saml/binding/SOAPClient.h b/saml/binding/SOAPClient.h index 3fc9fd1..0941a6c 100644 --- a/saml/binding/SOAPClient.h +++ b/saml/binding/SOAPClient.h @@ -23,13 +23,16 @@ #ifndef __saml_soap11client_h__ #define __saml_soap11client_h__ -#include +#include #include namespace opensaml { class SAML_API SecurityPolicy; + namespace saml2md { + class SAML_API MetadataCredentialCriteria; + }; /** * Specialized SOAPClient for SAML SOAP bindings. @@ -44,7 +47,7 @@ namespace opensaml { */ SOAPClient(SecurityPolicy& policy); - virtual ~SOAPClient() {} + virtual ~SOAPClient(); /** * Controls whether to force transport/peer authentication via an X509TrustEngine. @@ -53,9 +56,7 @@ namespace opensaml { * * @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; @@ -85,9 +86,7 @@ namespace opensaml { * * @return the associated SecurityPolicy */ - SecurityPolicy& getPolicy() const { - return m_policy; - } + SecurityPolicy& getPolicy() const; protected: /**