You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2010/03/11 18:14:53 UTC
svn commit: r921947 - in /cxf/branches/2.2.x-fixes: ./
rt/transports/http/src/main/java/org/apache/cxf/transport/http/CXFAuthenticator.java
Author: dkulp
Date: Thu Mar 11 17:14:53 2010
New Revision: 921947
URL: http://svn.apache.org/viewvc?rev=921947&view=rev
Log:
Merged revisions 921943 via svnmerge from
https://svn.apache.org/repos/asf/cxf/trunk
........
r921943 | dkulp | 2010-03-11 12:11:39 -0500 (Thu, 11 Mar 2010) | 2 lines
[CXF-2705] getPasswordAuthentication is protected and not found with
getMethod
........
Modified:
cxf/branches/2.2.x-fixes/ (props changed)
cxf/branches/2.2.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/CXFAuthenticator.java
Propchange: cxf/branches/2.2.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.
Modified: cxf/branches/2.2.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/CXFAuthenticator.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/CXFAuthenticator.java?rev=921947&r1=921946&r2=921947&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/CXFAuthenticator.java (original)
+++ cxf/branches/2.2.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/CXFAuthenticator.java Thu Mar 11 17:14:53 2010
@@ -72,7 +72,7 @@ public class CXFAuthenticator extends Au
f.set(wrapped, f.get(this));
}
}
- Method m = Authenticator.class.getMethod("getPasswordAuthentication");
+ Method m = Authenticator.class.getDeclaredMethod("getPasswordAuthentication");
m.setAccessible(true);
auth = (PasswordAuthentication)m.invoke(wrapped);
} catch (Throwable t) {