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

Sergey Beryozkin commented on CXF-5179:
---------------------------------------

Hi, this actually helps. I kind of realized that it is not a CXF's issue on 
whether the linked UserSubject's login name is refreshed or not and having a 
unique id qualifier is actually useful on its own. I guess also having a set of 
some additional properties may also be useful :-), I'll deal with it next week, 
thanks  
                
> Add optional id field to UserSubject
> ------------------------------------
>
>                 Key: CXF-5179
>                 URL: https://issues.apache.org/jira/browse/CXF-5179
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS Security
>    Affects Versions: 2.7.6
>            Reporter: Thorsten Hoeger
>            Priority: Minor
>              Labels: OAuth2
>         Attachments: 0001-adding-optional-user-id-to-UserSubject.patch
>
>
> As the user's login name my change over time it might be a good idea to 
> assign a unique, non-changing user id. To reflect this within the auth module 
> the class USerSubject needs an additional field.
> The OAuthContextUtils the may resolve the user's id.
> A patch implementing this improvement is attached.

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

Reply via email to