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/12/04 19:22:58 UTC

[jira] [Updated] (CXF-4673) [OAuth2] Add requestedScope as a parameter to getPreauthorizedToken

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

Steven Tippetts updated CXF-4673:
---------------------------------

    Description: 
When using pre-authorized tokens I need the requested scope to be able to create the token. Please change the OAuthDataProvider interface to include:

{code}
ServerAccessToken getPreauthorizedToken(Client client,
                                        UserSubject subject,
                                        String grantType, 
                                        List<String> requestedScope)
    throws OAuthServiceException;
{code}

And change RedirectionBasedGrantService.java and AbstractGrantHandler.java to pass the requestedScope variable in to getPreauthorizedToken.

  was:
When using pre-authorized tokens I need the requested scope to be able to create the token. Please change the OAuthDataProvider interface to include:

ServerAccessToken getPreauthorizedToken(Client client,
                                        UserSubject subject,
                                        String grantType, 
                                        List<String> requestedScope)
    throws OAuthServiceException;

And change RedirectionBasedGrantService.java and AbstractGrantHandler.java to pass the requestedScope variable in to getPreauthorizedToken.

    
> [OAuth2] Add requestedScope as a parameter to getPreauthorizedToken
> -------------------------------------------------------------------
>
>                 Key: CXF-4673
>                 URL: https://issues.apache.org/jira/browse/CXF-4673
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS Security
>    Affects Versions: 2.7.0
>            Reporter: Steven Tippetts
>
> When using pre-authorized tokens I need the requested scope to be able to create the token. Please change the OAuthDataProvider interface to include:
> {code}
> ServerAccessToken getPreauthorizedToken(Client client,
>                                         UserSubject subject,
>                                         String grantType, 
>                                         List<String> requestedScope)
>     throws OAuthServiceException;
> {code}
> And change RedirectionBasedGrantService.java and AbstractGrantHandler.java to pass the requestedScope variable in to getPreauthorizedToken.

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