cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Tippetts (JIRA)" <>
Subject [jira] [Commented] (CXF-4670) [OAuth2] Add tokenLife property to
Date Mon, 03 Dec 2012 21:41:58 GMT


Steven Tippetts commented on CXF-4670:

Not really. In my ImplicitDataProvider object, in the getClient is where I do my database
calls to get client information, including the token life for this client. I then use the
token life number in both createAccessToken and getAccessToken when I create BearerAccessTokens
(which is an AccessToken and has its expiresIn property set by the value I pass in).  If I
don't save the token life value in Client during getClient then I'll have to hit the database
again in both createAccessToken and getAccessToken.
> [OAuth2] Add tokenLife property to
> ----------------------------------------------------------------------------------
>                 Key: CXF-4670
>                 URL:
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS Security
>    Affects Versions: 2.7.0
>            Reporter: Steven Tippetts
>            Priority: Minor
> I'm currently extending Client to get this property, so it's no big deal for me; however,
I'm thinking this may have wider appeal and be a good addition to the library.
> My clients have different token lives so tokenLife helps me keep track of them.

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:

View raw message