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

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

Actually, see what you mean re setting the properties, it is awkward, I did it 
that way to avoid dealing with Map marshalling issues, but I think for 3.0.0 I 
will just put Map there instead and add an adapter.

FYI, your patch has been applied, thanks. I've only replaced 'Long' with 
'String', I can imagine an internal id containing all sort of characters...
 
  
                
> 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