[
https://issues.apache.org/jira/browse/CXF-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Kulp resolved CXF-2705.
------------------------------
Resolution: Fixed
Fix Version/s: 2.2.7
> CXFAuthenticator does not correctly retrieve authentication from
> Authenticator class; NoSuchMethodException is thrown
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CXF-2705
> URL: https://issues.apache.org/jira/browse/CXF-2705
> Project: CXF
> Issue Type: Bug
> Components: Transports
> Affects Versions: 2.2.6
> Environment: windows xp, jdk 1.6.0_12
> Reporter: aaron pieper
> Assignee: Daniel Kulp
> Fix For: 2.2.7
>
>
> 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".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.