[
https://issues.apache.org/jira/browse/CXF-5161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13720829#comment-13720829
]
Sergey Beryozkin commented on CXF-5161:
---------------------------------------
See https://issues.apache.org/jira/browse/CXF-5162.
Basically, I think it should tighten things a bit (example, I had to update a
system test where a Client not supporting a "custom_grant" was accepted by
CustomGrantHandler) so we minimize the chance of a user error (and on this
basis I'd like to push the update to branches). And one less call to make for
the handlers, which is not too bad too. I'm keeping this method as deprecated
so it will work for you without the recompilation on the upgrade. Thanks
> AbstranctGrantHandler checks against "authorization_code" instead of supplied
> grant type
> ----------------------------------------------------------------------------------------
>
> Key: CXF-5161
> URL: https://issues.apache.org/jira/browse/CXF-5161
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS Security
> Affects Versions: 2.7.6
> Reporter: Thorsten Hoeger
> Assignee: Sergey Beryozkin
> Labels: OAuth2
> Fix For: 3.0.0, 2.6.10, 2.7.7
>
>
> In the given commit the method checkIfGrantSupported was changed. This breaks
> my application. Is this by design or is it a bug? It worked in Version 2.7.5
> http://svn.apache.org/viewvc/cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/AbstractGrantHandler.java?r1=1491522&r2=1489392&diff_format=h
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira