cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-4614) Error using role, tokenService and ValidationService when initialize client AccessTokenValidation.
Date Mon, 05 Nov 2012 16:40:12 GMT

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

Sergey Beryozkin commented on CXF-4614:
---------------------------------------

OK, I've replaced "Collections.emptyList()" with "new LinkedList()" in UserSubject initialization
code. Give it a try please when a new snapshot is available, thanks  
                
> Error using role, tokenService and ValidationService when initialize client AccessTokenValidation.
> --------------------------------------------------------------------------------------------------
>
>                 Key: CXF-4614
>                 URL: https://issues.apache.org/jira/browse/CXF-4614
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.7.0
>         Environment: Linux 64 bits, java 7_u5 64 bits
>            Reporter: Guillaume BARTHE
>
> Hi,
> We use AccessTokenService with validation. We use a validation service. If we add roles
in UserSubject, when we create the object AccessTokenValidation.class whith AccessTokenValidatorClient,
we have an exception when create the roles list.
> We think it's because the POJO UserSubject is initialize with private List<String>
roles = Collections.emptyList();
> What do you think about this ?
> Think
> Guillaume

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