owenb       2003/08/27 09:32:52

  Modified:    java/src/org/apache/wsif/wsdl
                        AuthenticatingProxyWSDLLocatorImpl.java
  Log:
  Handle null passwords without falling over
  
  Revision  Changes    Path
  1.16      +3 -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.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- AuthenticatingProxyWSDLLocatorImpl.java   16 Apr 2003 10:08:46 -0000      1.15
  +++ AuthenticatingProxyWSDLLocatorImpl.java   27 Aug 2003 16:32:52 -0000      1.16
  @@ -112,7 +112,9 @@
           throws WSDLException {
   
           this.wsdlLocation = wsdlLoc;
  -        passwdAuth = new PasswordAuthentication(un, passwd.toCharArray());
  +             if (passwd != null) {
  +             passwdAuth = new PasswordAuthentication(un, passwd.toCharArray());
  +        }
       }
   
        /**
  
  
  

Reply via email to