You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2010/03/11 16:50:27 UTC
[jira] Assigned: (CXF-2705) CXFAuthenticator does not correctly
retrieve authentication from Authenticator class; NoSuchMethodException is
thrown
[ https://issues.apache.org/jira/browse/CXF-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp reassigned CXF-2705:
--------------------------------
Assignee: Daniel Kulp
> 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
>
> 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.