[
https://issues.apache.org/jira/browse/AMBER-29?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201187#comment-13201187
]
Antonio Sanso commented on AMBER-29:
------------------------------------
Hi Ed thanks,
the patch is fine from the spec point of view but it'd be good if you could
also align the tests.
Results :
Failed tests:
testEncodeOAuthHeader(org.apache.amber.oauth2.common.OAuthUtilsTest):
expected:<[OAuth] error="invalid_toke...> but was:<[Bearer]
error="invalid_toke...>
> OAUTH_HEADER_NAME needs to be updated to latest spec
> ----------------------------------------------------
>
> Key: AMBER-29
> URL: https://issues.apache.org/jira/browse/AMBER-29
> Project: Amber
> Issue Type: Bug
> Components: OAuth 2.0 - Authorization Server, OAuth 2.0 - Resource
> Server, Parent
> Affects Versions: 1.0
> Reporter: Ed Anuff
> Assignee: Antonio Sanso
> Attachments: OAuth.java.diff, OAuthUtils.java.diff
>
>
> org.apache.amber.oauth2.common.OAuth.OAUTH_HEADER_NAME is set to "OAuth", is
> should be set to "Bearer"
> http://tools.ietf.org/html/draft-ietf-oauth-v2-bearer-08#section-2.4
> There probably should be a meta-issue or something to make sure everything in
> org.apache.amber.oauth2.common.OAuth is updated to the latest version of the
> spec, since thats the same problem as with AMBER-28
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira