[
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