Add "sender" to SOAP APIs to avoid reuse of connections across apps.
[shibboleth/opensaml2.git] / saml / saml2 / binding / SAML2SOAPClient.h
index 4981c2e..c5d35cc 100644 (file)
@@ -59,10 +59,11 @@ namespace opensaml {
              * <p>The request will be freed by the client object regardless of the outcome.
              * 
              * @param request   SAML request to send
-             * @param peer      peer to send message to, expressed in metadata criteria terms
+             * @param to        peer to send message to, expressed in metadata criteria terms
+             * @param from      identity of sending application
              * @param endpoint  URL of endpoint to recieve message
              */
-            virtual void sendSAML(RequestAbstractType* request, saml2md::MetadataCredentialCriteria& peer, const char* endpoint);
+            virtual void sendSAML(RequestAbstractType* request, const char* from, saml2md::MetadataCredentialCriteria& to, const char* endpoint);
             
             /**
              * Specialized method for receiving SAML 2.0 responses. The SOAP layer will be