This has to do with my security battle.
I figured out that the security information isn't getting propagated because
servlet falls 'outside' of the tapestry domain and is just getting ignored by 
the
tapestry servlet filter and the whole pipeline.
I need to get all these servlets into the filter pipeline without being ignored,
thus propagating security information.

Hope this info helps.


On Sep 8, 2011, at 1:18 PM, Steve Eynon wrote:

>> this will require me to 'wrap' all the servlets individually,
> 
> Hmm... well originally you said you only had the one servlet! :)
> 
>> I have a servlet which I need to use as part of the Tapestry web app.
> 
> In what way do you need the servlet to be "in the pipeline"?? If you
> just need access to services then as has been mentioned in the Tapesty
> IOC thread you could just pick up the IoC Registry and take what you
> need from there:
> 
>> On startup, Tapestry stores the Registry into the ServletContext. If
>> you can get to the servlet context, you can get the Registry.
>> The key is org.apache.tapestry5.application-registry or use the
>> constant TapestryFilter.REGISTRY_CONTEXT_NAME.
> 
> Steve.
> 
> On 9 September 2011 01:10, Lenny Primak <lpri...@hope.nyc.ny.us> wrote:
>> If I understand you correctly Thiago,
>> this will require me to 'wrap' all the servlets individually, i.e.
>> the tapestry part would have to know about all the servlets,
>> which isn't desirable.  Or am I missing something?
>> 
>> On Sep 8, 2011, at 12:43 PM, Lenny Primak wrote:
>> 
>>> no but I will try :)
>>> 
>>> On Sep 8, 2011, at 12:41 PM, Thiago H. de Paula Figueiredo wrote:
>>> 
>>>> On Thu, 08 Sep 2011 13:39:41 -0300, Lenny Primak <lpri...@hope.nyc.ny.us> 
>>>> wrote:
>>>> 
>>>>> I have a servlet which I need to use as part of the Tapestry web app.
>>>>> Since it's not an asset, etc. Tapestry completely ignores it.
>>>>> Is there any way to add it to the pipeline?
>>>> 
>>>> Have you tried wrapping it in a HttpServletRequestFilter and adding it to 
>>>> the HttpServletRequestHandler service?
>>>> 
>>>> --
>>>> Thiago H. de Paula Figueiredo
>>>> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, 
>>>> and instructor
>>>> Owner, Ars Machina Tecnologia da Informação Ltda.
>>>> http://www.arsmachina.com.br
>>>> 
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>>> 
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to