cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thorsten Hoeger (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5180) Adding RefreshToken as token type
Date Tue, 06 Aug 2013 12:45:48 GMT

    [ https://issues.apache.org/jira/browse/CXF-5180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730712#comment-13730712
] 

Thorsten Hoeger commented on CXF-5180:
--------------------------------------

Hi,
I think we have a mapping as the AccessToken has a field refreshToken. So in my application
I invalidate all/the BearerAccessTokens that have the refreshToken value of the incoming refresh
request. Along with this I invalidate the RefreshToken and issue a new BearerAccessToken/RefreshToken
apir to the client.
                
> Adding RefreshToken as token type
> ---------------------------------
>
>                 Key: CXF-5180
>                 URL: https://issues.apache.org/jira/browse/CXF-5180
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS Security
>    Affects Versions: 2.7.6
>            Reporter: Thorsten Hoeger
>            Priority: Minor
>              Labels: OAuth2
>         Attachments: 0001-adding-RefreshToken-type.patch
>
>
> It may be useful to have a dedicated RefreshToken class (subclassing ServerAccessToken)
to represent the generated refresh token. This allows implementors to drop the BearerAccessToken
on expiry and persist the RefreshToken until used by the client.

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