cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r643241 - in /incubator/cxf/branches/2.0.x-fixes: ./ rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java
Date Tue, 01 Apr 2008 02:14:08 GMT
Author: dkulp
Date: Mon Mar 31 19:14:06 2008
New Revision: 643241

URL: http://svn.apache.org/viewvc?rev=643241&view=rev
Log:
Merged revisions 643212 via svnmerge from 
https://svn.apache.org/repos/asf/incubator/cxf/trunk

........
  r643212 | gmazza | 2008-03-31 19:47:22 -0400 (Mon, 31 Mar 2008) | 1 line
  
  CXF-1495 Patch from Chris Wolf applied.  Thanks!
........

Modified:
    incubator/cxf/branches/2.0.x-fixes/   (props changed)
    incubator/cxf/branches/2.0.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java

Propchange: incubator/cxf/branches/2.0.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: incubator/cxf/branches/2.0.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java
URL: http://svn.apache.org/viewvc/incubator/cxf/branches/2.0.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java?rev=643241&r1=643240&r2=643241&view=diff
==============================================================================
--- incubator/cxf/branches/2.0.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java
(original)
+++ incubator/cxf/branches/2.0.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java
Mon Mar 31 19:14:06 2008
@@ -134,8 +134,9 @@
                     String authDecoded = new String(Base64Utility.decode(authEncoded));
                     String authInfo[] = authDecoded.split(":");
                     String username = authInfo[0];
-                    String password = authInfo[1];
-                    
+                    // Below line for systems that blank out password after authentication;
+                    // see CXF-1495 for more info
+                    String password = (authInfo.length > 1) ? authInfo[1] : "";
                     AuthorizationPolicy policy = new AuthorizationPolicy();
                     policy.setUserName(username);
                     policy.setPassword(password);



Mime
View raw message