You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Thorsten Hoeger (JIRA)" <ji...@apache.org> on 2012/10/09 10:18:02 UTC

[jira] [Created] (CXF-4549) Add retrieval of AccessToken to OAuth2 MessageContext

Thorsten Hoeger created CXF-4549:
------------------------------------

             Summary: Add retrieval of AccessToken to OAuth2 MessageContext
                 Key: CXF-4549
                 URL: https://issues.apache.org/jira/browse/CXF-4549
             Project: CXF
          Issue Type: Improvement
          Components: JAX-RS Security
    Affects Versions: 2.6.2, 2.7.0
            Reporter: Thorsten Hoeger


I found no way to get the Bearer token and the authorized client via
the injected MessageContext. I copied the OAuthRequestFilter and put the
AccessTokenValidation into the message which worked perfectly. May be
this could be done by default.

Patch will be provided.

--
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

[jira] [Resolved] (CXF-4549) Add retrieval of AccessToken to OAuth2 MessageContext

Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-4549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Beryozkin resolved CXF-4549.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7.1
                   2.6.4

2nd patch has been applied, many thanks
                
> Add retrieval of AccessToken to OAuth2 MessageContext
> -----------------------------------------------------
>
>                 Key: CXF-4549
>                 URL: https://issues.apache.org/jira/browse/CXF-4549
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS Security
>    Affects Versions: 2.6.2, 2.7.0
>            Reporter: Thorsten Hoeger
>            Assignee: Sergey Beryozkin
>             Fix For: 2.6.4, 2.7.1
>
>         Attachments: 0001-refs-CXF-4549-Add-retrieval-of-AccessToken-to-OAuth2.patch, 0001-refs-CXF-4549-Add-retrieval-of-AccessToken-to-OAuth2.patch
>
>
> I found no way to get the Bearer token and the authorized client via
> the injected MessageContext. I copied the OAuthRequestFilter and put the
> AccessTokenValidation into the message which worked perfectly. May be
> this could be done by default.
> Patch will be provided.

--
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

[jira] [Updated] (CXF-4549) Add retrieval of AccessToken to OAuth2 MessageContext

Posted by "Thorsten Hoeger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-4549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thorsten Hoeger updated CXF-4549:
---------------------------------

    Attachment: 0001-refs-CXF-4549-Add-retrieval-of-AccessToken-to-OAuth2.patch

alternative solution as discussed on the mailing list
                
> Add retrieval of AccessToken to OAuth2 MessageContext
> -----------------------------------------------------
>
>                 Key: CXF-4549
>                 URL: https://issues.apache.org/jira/browse/CXF-4549
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS Security
>    Affects Versions: 2.6.2, 2.7.0
>            Reporter: Thorsten Hoeger
>         Attachments: 0001-refs-CXF-4549-Add-retrieval-of-AccessToken-to-OAuth2.patch, 0001-refs-CXF-4549-Add-retrieval-of-AccessToken-to-OAuth2.patch
>
>
> I found no way to get the Bearer token and the authorized client via
> the injected MessageContext. I copied the OAuthRequestFilter and put the
> AccessTokenValidation into the message which worked perfectly. May be
> this could be done by default.
> Patch will be provided.

--
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

[jira] [Assigned] (CXF-4549) Add retrieval of AccessToken to OAuth2 MessageContext

Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-4549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Beryozkin reassigned CXF-4549:
-------------------------------------

    Assignee: Sergey Beryozkin
    
> Add retrieval of AccessToken to OAuth2 MessageContext
> -----------------------------------------------------
>
>                 Key: CXF-4549
>                 URL: https://issues.apache.org/jira/browse/CXF-4549
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS Security
>    Affects Versions: 2.6.2, 2.7.0
>            Reporter: Thorsten Hoeger
>            Assignee: Sergey Beryozkin
>         Attachments: 0001-refs-CXF-4549-Add-retrieval-of-AccessToken-to-OAuth2.patch, 0001-refs-CXF-4549-Add-retrieval-of-AccessToken-to-OAuth2.patch
>
>
> I found no way to get the Bearer token and the authorized client via
> the injected MessageContext. I copied the OAuthRequestFilter and put the
> AccessTokenValidation into the message which worked perfectly. May be
> this could be done by default.
> Patch will be provided.

--
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

[jira] [Updated] (CXF-4549) Add retrieval of AccessToken to OAuth2 MessageContext

Posted by "Thorsten Hoeger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-4549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thorsten Hoeger updated CXF-4549:
---------------------------------

    Attachment: 0001-refs-CXF-4549-Add-retrieval-of-AccessToken-to-OAuth2.patch
    
> Add retrieval of AccessToken to OAuth2 MessageContext
> -----------------------------------------------------
>
>                 Key: CXF-4549
>                 URL: https://issues.apache.org/jira/browse/CXF-4549
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS Security
>    Affects Versions: 2.6.2, 2.7.0
>            Reporter: Thorsten Hoeger
>         Attachments: 0001-refs-CXF-4549-Add-retrieval-of-AccessToken-to-OAuth2.patch
>
>
> I found no way to get the Bearer token and the authorized client via
> the injected MessageContext. I copied the OAuthRequestFilter and put the
> AccessTokenValidation into the message which worked perfectly. May be
> this could be done by default.
> Patch will be provided.

--
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