cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Tippetts (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-4613) Token URI is missing ampersands
Date Mon, 05 Nov 2012 15:40:12 GMT
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

Mime
View raw message