cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <>
Subject [jira] [Commented] (DOSGI-183) Link filter chain to CXF webservice request processing with DOSGi
Date Thu, 16 May 2013 12:01:20 GMT


Sergey Beryozkin commented on DOSGI-183:

FYI, Dan has updated CXFNonSpringServlet the other day to act as a Filter (optionally).

I think the fix will be rather straightforward.

IMHO, for the existing applications not be affected, we need to introduce a contextual property,
such as "org.apache.cxf.httpservice.filter.cxfservlet".


will need to be provided with an instance of CXFNonSpringServlet created in

Now, SecurityDelegatingHttpContext will check if "org.apache.cxf.httpservice.filter.cxfservlet"
set to true, if yes, it will simply add CXFNonSpringServlet instance to the end of the list
of HTTP filters it executes and it will work.

Isart, would you be interested to play a bit with the DOSGi source :-) ? Not a problem if
you have no time for that, I will look in a couple of weeks
> Link filter chain to CXF webservice request processing with DOSGi
> -----------------------------------------------------------------
>                 Key: DOSGI-183
>                 URL:
>             Project: CXF Distributed OSGi
>          Issue Type: New Feature
>    Affects Versions: 1.4.0
>            Reporter: Isart
>            Assignee: Sergey Beryozkin
>             Fix For: 1.5
> This issue raises from a conversation in the CXF users mailing list. Please, find first
mail in the thread here:
> As stated there, although there is currently a way to execute a filter  *before* normal
CXF processing takes place, I've been unable to find a way to invoke the normal processing
*within* the filter, as part of the filter chain.
> Some frameworks (i.e. Spring Security) expect service invocation to happen within the
filter chain. And things do not work as expected when that's not the case. (I can not say
whether this is a common behaviour or not, as I'm not very familiar with servlet containers
> I think having a way for that to happen is a desirable feature.
> It would also solve issue DOSGI-182.

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:

View raw message