cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5161) AbstranctGrantHandler checks against "authorization_code" instead of supplied grant type
Date Fri, 26 Jul 2013 13:39:48 GMT

    [ https://issues.apache.org/jira/browse/CXF-5161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13720785#comment-13720785
] 

Sergey Beryozkin commented on CXF-5161:
---------------------------------------

By the way, I'm looking at AbstractGrantHandler again and I think I'm going to deprecate its
"checkIfGrantSupported(Client client)" because this is what AccessTokenService should do,
make sure the current grant type is actually supported by a given Client, as opposed to GrantHandlers
worrying about it. 
                
> 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

Mime
View raw message