Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.6
-
None
-
windows xp, jdk 1.6.0_12
-
Novice
Description
In my JDK (JDK 1.6.0_12), Authenticator.class.getMethod("getPasswordAuthentication") throws a NoSuchMethodException. This looks like correct behavior, since the method is protected. The result is that the CXFAuthenticator.getPasswordAuthentication() method fails to retrieve the PasswordAuthentication, and always drops through.
I was able to work around this by changing CXFAuthenticator to call the "getDeclaredMethod", instead of "getMethod".