[
http://jira.amdatu.org/jira/browse/AMDATU-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10226#comment-10226
]
Ivo Ladage - van Doorn commented on AMDATU-151:
-----------------------------------------------
Whiteboard pattern cannot possibly work with our 'httpcontext per bundle'
approach. This is because of the fact that you should use the contextId service
property to bind the filter to the proper httpcontext. The Felix implementation
(see org.apache.felix.http.whiteboard.internal.manager.HttpContextManager)
however appends the bundleid of the bundle that it supposes to use the
httpcontext. In our case the service that registers the httpcontext is another
bundle then the bundle holding the service that registers the filter (i.e.
httpcontext bundle versus shindig bundle). This causes a mismatch and so all
filters will be registered for the default http context.
> Replace dependency on Pax Web implementation for filter registration
> --------------------------------------------------------------------
>
> Key: AMDATU-151
> URL: http://jira.amdatu.org/jira/browse/AMDATU-151
> Project: Amdatu
> Issue Type: Task
> Components: Amdatu Web
> Affects Versions: 0.0.6
> Reporter: Ivo Ladage - van Doorn
> Assignee: Ivo Ladage - van Doorn
> Fix For: 0.0.6
>
>
> Currently the Shindig registration service registers an authentication filter
> using the Pax Web specific 'WebContainer" implementation of the OSGi HTTP
> Service. Since we are planning to replace Pax Web by a Felix implementation,
> this dependency should be removed and an alternative for this filter
> registration should be implemented.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira