X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=saml%2Fbinding%2FSOAPClient.h;h=8fd00e1248b8c0133ce044ef264737de3cff7e9b;hb=c9e0e2dc2e15d2004333db7f135947db13956b5e;hp=ddbe2e1e0a485f4419ee53675ee4108cf0829d73;hpb=b1614d3c1fc1f4230ab2a123f43994127c25462c;p=shibboleth%2Fcpp-opensaml.git diff --git a/saml/binding/SOAPClient.h b/saml/binding/SOAPClient.h index ddbe2e1..8fd00e1 100644 --- a/saml/binding/SOAPClient.h +++ b/saml/binding/SOAPClient.h @@ -39,7 +39,6 @@ namespace opensaml { * Creates a SOAP client instance with a particular SecurityPolicy. * * @param policy reference to SecurityPolicy to apply - * @param validating controls schema validation */ SOAPClient(SecurityPolicy& policy) : soap11::SOAPClient(policy.getValidating()), m_policy(policy), m_force(true), m_peer(NULL), m_criteria(NULL) { @@ -59,16 +58,19 @@ namespace opensaml { m_force = force; } + using soap11::SOAPClient::send; + /** - * SAML-specific method uses a RoleDescriptor to determine the peer name and prepare the + * SAML-specific method uses metadata to determine the peer name and prepare the * transport layer with peer credential information. The SecurityPolicy is also reset, * in case the policy is reused. * * @param env SOAP envelope to send - * @param peer peer to send message to, expressed in metadata criteria terms + * @param from identity of sending application + * @param to peer to send message to, expressed in metadata criteria terms * @param endpoint URL of endpoint to recieve message */ - void send(const soap11::Envelope& env, saml2md::MetadataCredentialCriteria& peer, const char* endpoint); + virtual void send(const soap11::Envelope& env, const char* from, saml2md::MetadataCredentialCriteria& to, const char* endpoint); /** * Override applies SecurityPolicy to envelope before returning it.