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

Steven Tippetts commented on CXF-4656:
--------------------------------------

Sorry for including too few details. The process I need the change in is when 
AccessTokenValidatorService on the OAuth server returns the 
AccessTokenValidation which contains a UserSubject named tokenSubject.  I 
create the UserSubject in the getAccessToken method of my ImplicitDataProvider 
object and add it to the ServerAccessToken that is returned from that method.  
I've saved these attributes with the other token data in my database and want 
to return them when a token has been successfully validated by the OAuth server.
                
> [OAuth 2] Add attributes property to UserSubject object
> -------------------------------------------------------
>
>                 Key: CXF-4656
>                 URL: https://issues.apache.org/jira/browse/CXF-4656
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS Security
>    Affects Versions: 2.6.3, 2.7.0
>            Reporter: Steven Tippetts
>
> I need to be able to provide a few authentication attributes to my endpoints 
> along with the login and roles. These attributes are things like the 
> principal's id or name and come from the authentication provider. An 
> "attributes" property that is a Map<String, String> in the UserSubject object 
> would work out nicely.

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