You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ha...@apache.org on 2006/07/21 18:34:29 UTC

svn commit: r424377 - /webservices/axis/trunk/c/include/axis/client/Stub.hpp

Author: hawkeye
Date: Fri Jul 21 09:34:29 2006
New Revision: 424377

URL: http://svn.apache.org/viewvc?rev=424377&view=rev
Log:
Moved the http specific password element into the http transport. The username and password now reside in the SOAP Transport where they should be.

Modified:
    webservices/axis/trunk/c/include/axis/client/Stub.hpp

Modified: webservices/axis/trunk/c/include/axis/client/Stub.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/include/axis/client/Stub.hpp?rev=424377&r1=424376&r2=424377&view=diff
==============================================================================
--- webservices/axis/trunk/c/include/axis/client/Stub.hpp (original)
+++ webservices/axis/trunk/c/include/axis/client/Stub.hpp Fri Jul 21 09:34:29 2006
@@ -489,6 +489,14 @@
     * @param uiProxyPort Port of proxy server
     */
     void setProxy(const char* pcProxyHost, unsigned int uiProxyPort);
+  /**
+    * Sets the username to be used for basic authentication
+    */
+    void setUsername(const char* pcUsername);
+  /**
+    * Sets the password to be used for basic authentication
+    */
+    void setPassword(const char* pcPassword);
 
   /**
     * Set transport timeout.
@@ -523,25 +531,6 @@
     */
     AXIS_PROTOCOL_TYPE getTransportProtocol();
 
-  /**
-    * Sets the username to be used for basic authentication
-    */
-    void setUsername(const char* pcUsername);
-
-  /**
-    * Sets the password to be used for basic authentication
-    */
-    void setPassword(const char* pcPassword);
-
-  /**
-    * Gets the username used for basic authentication
-    */
-    const char* getUsername();
-
-  /**
-    * Gets the password used for basic authentication
-    */
-    const char* getPassword();
 
   /**
     * Sets the username to be used for Proxy authentication
@@ -622,10 +611,6 @@
     */
     void setSOAPHeaders();
     
-  /**
-    * Set Authorization header for basic authentication
-    */
-    void setAuthorizationHeader();
   
   /**
     * Set Authorization header for Proxy authentication
@@ -660,15 +645,6 @@
     SOAPTransport* m_pTransport;
 
 
-  /**
-    * Username
-    */
-   char* m_pcUsername;
-
-  /**
-    * Password
-    */
-   char* m_pcPassword;
   /**
     * proxy Username
     */



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org