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());
+ }
}
/**