cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r921943 - /cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/CXFAuthenticator.java
Date Thu, 11 Mar 2010 17:11:39 GMT
Author: dkulp
Date: Thu Mar 11 17:11:39 2010
New Revision: 921943

URL: http://svn.apache.org/viewvc?rev=921943&view=rev
Log:
[CXF-2705] getPasswordAuthentication is protected and not found with
getMethod

Modified:
    cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/CXFAuthenticator.java

Modified: cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/CXFAuthenticator.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/CXFAuthenticator.java?rev=921943&r1=921942&r2=921943&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/CXFAuthenticator.java
(original)
+++ cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/CXFAuthenticator.java
Thu Mar 11 17:11:39 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) {



Mime
View raw message