cvs commit: xml-axis-wsif/java/src/org/apache/wsif/wsdl AuthenticatingProxyWSDLLocatorImpl.java

[email protected]
Newsgroups gmane.comp.apache.webservices.wsif.devel
Message-ID <[email protected]>
owenb       2003/08/27 09:32:16

  Modified:    java/src/org/apache/wsif/wsdl Tag:
                        WSIF_2_0-uses-wsdl4j-1_4-patches
                        AuthenticatingProxyWSDLLocatorImpl.java
  Log:
  Handle null passwords without falling over
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.15.2.1  +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.15.2.1
  diff -u -r1.15 -r1.15.2.1
  --- AuthenticatingProxyWSDLLocatorImpl.java	16 Apr 2003 10:08:46 -0000	1.15
  +++ AuthenticatingProxyWSDLLocatorImpl.java	27 Aug 2003 16:32:16 -0000	1.15.2.1
  @@ -112,7 +112,9 @@
           throws WSDLException {
   
           this.wsdlLocation = wsdlLoc;
  -        passwdAuth = new PasswordAuthentication(un, passwd.toCharArray());
  +        if (passwd != null) {
  +            passwdAuth = new PasswordAuthentication(un, passwd.toCharArray());
  +        }
       }
   
   	/**
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.