owenb       2003/03/06 08:43:55

  Modified:    java/src/org/apache/wsif/wsdl
                        AuthenticatingProxyWSDLLocatorImpl.java
  Log:
  Fix - don't use char[].toString() to get the password, use new String(char[])
  
  Revision  Changes    Path
  1.9       +2 -1      
xml-axis-wsif/java/src/org/apache/wsif/wsdl/AuthenticatingProxyWSDLLocatorImpl.java
  
  Index: AuthenticatingProxyWSDLLocatorImpl.java
  ===================================================================
  RCS file: 
/home/cvs/xml-axis-wsif/java/src/org/apache/wsif/wsdl/AuthenticatingProxyWSDLLocatorImpl.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- AuthenticatingProxyWSDLLocatorImpl.java   6 Mar 2003 16:29:03 -0000       1.8
  +++ AuthenticatingProxyWSDLLocatorImpl.java   6 Mar 2003 16:43:55 -0000       1.9
  @@ -232,7 +232,8 @@
   
           byte[] data = null;
           try {
  -            data = (username + ":" + passwd.toString()).getBytes("8859_1");
  +             String ps = new String(passwd);
  +            data = (username + ":" + ps).getBytes("8859_1");
           } catch (UnsupportedEncodingException uee) {
               return;
           }
  
  
  

Reply via email to