You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oltu.apache.org by "Antonio Sanso (JIRA)" <ji...@apache.org> on 2014/04/01 13:54:18 UTC

[jira] [Closed] (OLTU-107) ResourceHeaderEndpoint should use e.getUri()

     [ https://issues.apache.org/jira/browse/OLTU-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Sanso closed OLTU-107.
------------------------------


> ResourceHeaderEndpoint should use e.getUri()
> --------------------------------------------
>
>                 Key: OLTU-107
>                 URL: https://issues.apache.org/jira/browse/OLTU-107
>             Project: Apache Oltu
>          Issue Type: Bug
>          Components: oauth2-integration-tests
>    Affects Versions: oauth2-0.31
>         Environment: current svn trunk
>            Reporter: Dominik Schürmann
>            Assignee: Antonio Sanso
>            Priority: Trivial
>             Fix For: oauth2-0.31
>
>         Attachments: OLTU-107.patch
>
>
> ResourceHeaderEndpoint integration test uses getDescription instead of getUri:
> OAuthResponse oauthResponse = OAuthRSResponse
>                 .errorResponse(HttpServletResponse.SC_UNAUTHORIZED)
>                 .setRealm(Common.RESOURCE_SERVER_NAME)
>                 .setError(e.getError())
>                 .setErrorDescription(e.getDescription())
>                 .setErrorUri(e.getDescription())
>                 .buildHeaderMessage();
> See patch.



--
This message was sent by Atlassian JIRA
(v6.2#6252)