You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Steven Tippetts (JIRA)" <ji...@apache.org> on 2012/11/05 16:40:12 UTC

[jira] [Created] (CXF-4613) Token URI is missing ampersands

Steven Tippetts created CXF-4613:
------------------------------------

             Summary: Token URI is missing ampersands
                 Key: CXF-4613
                 URL: https://issues.apache.org/jira/browse/CXF-4613
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS Security
    Affects Versions: 2.7.0, 2.6.2
            Reporter: Steven Tippetts
            Priority: Critical


In ImplicitGrantService line 75 and 76 need to be changed from:
        sb.append(OAuthConstants.ACCESS_TOKEN).append("=").append(token.getTokenKey());
        sb.append(OAuthConstants.ACCESS_TOKEN_TYPE).append("=").append(token.getTokenType());

to:
        sb.append("&").append(OAuthConstants.ACCESS_TOKEN).append("=").append(token.getTokenKey());
        sb.append("&").append(OAuthConstants.ACCESS_TOKEN_TYPE).append("=").append(token.getTokenType());

in order to have a properly formed URI.


--
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-4613) Token URI is missing ampersands

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

Sergey Beryozkin resolved CXF-4613.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7.1
                   2.6.4
         Assignee: Sergey Beryozkin
    
> Token URI is missing ampersands
> -------------------------------
>
>                 Key: CXF-4613
>                 URL: https://issues.apache.org/jira/browse/CXF-4613
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS Security
>    Affects Versions: 2.6.2, 2.7.0
>            Reporter: Steven Tippetts
>            Assignee: Sergey Beryozkin
>            Priority: Critical
>             Fix For: 2.6.4, 2.7.1
>
>
> In ImplicitGrantService line 75 and 76 need to be changed from:
>         sb.append(OAuthConstants.ACCESS_TOKEN).append("=").append(token.getTokenKey());
>         sb.append(OAuthConstants.ACCESS_TOKEN_TYPE).append("=").append(token.getTokenType());
> to:
>         sb.append("&").append(OAuthConstants.ACCESS_TOKEN).append("=").append(token.getTokenKey());
>         sb.append("&").append(OAuthConstants.ACCESS_TOKEN_TYPE).append("=").append(token.getTokenType());
> in order to have a properly formed URI.

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