Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 689F4DAC6 for ; Mon, 5 Nov 2012 16:06:13 +0000 (UTC) Received: (qmail 81543 invoked by uid 500); 5 Nov 2012 16:06:13 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 81511 invoked by uid 500); 5 Nov 2012 16:06:13 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 81480 invoked by uid 99); 5 Nov 2012 16:06:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2012 16:06:12 +0000 Date: Mon, 5 Nov 2012 16:06:12 +0000 (UTC) From: "Guillaume BARTHE (JIRA)" To: issues@cxf.apache.org Message-ID: <346360571.69200.1352131572721.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (CXF-4614) Error using role, tokenService and ValidationService when initialize client AccessTokenValidation. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Guillaume BARTHE created CXF-4614: ------------------------------------- Summary: 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 Security 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 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