Re: HTTP Service Whiteboard with SCR

2013-02-05 Thread Felix Meschberger
Hi I think the release does not have this built-in yet. In other words, we would need a release for this fix. Regards Felix Am 05.02.2013 um 11:49 schrieb Dave Smith: > I am going to bring this back to life. It looks like on the web page HTTP > Service Whiteboard 2.2.0 does not match the code

Re: HTTP Service Whiteboard with SCR

2013-02-05 Thread Dave Smith
I am going to bring this back to life. It looks like on the web page HTTP Service Whiteboard 2.2.0 does not match the code you pointed me to in GIT hub. So probably the code in GIT hub works but it is not released. Do I just need to do a source build? Dave Smith Candata Ltd. 416-493-9020x2413 Dir

Re: HTTP Service Whiteboard with SCR

2013-01-22 Thread Dave Smith
Yup, my bad, however it does look like if the HttpContext.handleSecurity throws a RuntimeException it assumes that the method returned true. I believe that is the source of my confusion. Dave Smith Candata Ltd. 416-493-9020x2413 Direct: 416-855-2413 On Sat, Jan 19, 2013 at 9:21 AM, Chetan Mehro

Re: HTTP Service Whiteboard with SCR

2013-01-19 Thread Chetan Mehrotra
Hi Dave, Looking at the HttpContextManager [1] which is used by the whiteboard logic to obtain content it appears that it takes care of case when http content with given contextId does not exist. How are you registering Servlet and HttpContext? Chetan Mehrotra [1] https://github.com/apache/feli

HTTP Service Whiteboard with SCR

2013-01-18 Thread Dave Smith
I am trying to have both my Servlet and HttpContext created by SCR . Unfortunately the current implementation is order specific , if the HttpContext is not registered first it the Whiteboard quietly ignores it and creates a default context and continues on. The quick fix is to add a SCR reference