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 02587C0DF for ; Thu, 20 Jun 2013 12:16:21 +0000 (UTC) Received: (qmail 18623 invoked by uid 500); 20 Jun 2013 12:16:20 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 18580 invoked by uid 500); 20 Jun 2013 12:16:20 -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 18570 invoked by uid 99); 20 Jun 2013 12:16:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jun 2013 12:16:20 +0000 Date: Thu, 20 Jun 2013 12:16:20 +0000 (UTC) From: "Christian Schneider (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DOSGI-182) SecurityContext populated by spring security made available to CXF MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DOSGI-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Schneider updated DOSGI-182: -------------------------------------- Fix Version/s: (was: 1.5.0) 1.6.0 > SecurityContext populated by spring security made available to CXF > ------------------------------------------------------------------ > > Key: DOSGI-182 > URL: https://issues.apache.org/jira/browse/DOSGI-182 > Project: CXF Distributed OSGi > Issue Type: Wish > Affects Versions: 1.4.0 > Reporter: Isart > Fix For: 1.6.0 > > > I'd like SecurityContext populated by SpringSecurity filter chain to be available in CXF, and also being available to registered services. > I've been able to apply a SpringSecurity filter chain to JAX-RS services published with DOSGi by instantiating my filter chain bean and registering it as an > osgi service with "org.apache.cxf.httpservice.filter" property. > This filter chain populates SecurityContext but also removes it when the filter chain finishes. > org.apache.cxf.dosgi.dsw.handlers.SecurityDelegatingHttpContext is responsible of handling the filter for DOSGi registered web services. > When a request comes, the filter chain finishes before normal request processing in CXF takes place, resulting in SecurityContext not being available in CXF nor in registered web services. -- 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