Oups, it seems i've made many people lost their time :

The T5ComponentRequestFilter is not present in TSS 2.1, and i've checkout
the branch (the 2.1.1-SNAPSHOT).

I just compiled it and it works fine.

After all, it is a good news !

Regards.
Nicolas.

On Wed, 19 May 2010 13:25:24 +0200, Nicolas Bouillon <nico...@bouil.org>
wrote:
> I've looked around the TSS 2.1 source code, and it seems that a
> ComponentRequestFilter already exists :
> 
>
http://www.localhost.nu/svn/public/tapestry-spring-security/branches/2.1/src/main/java/nu/localhost/tapestry5/springsecurity/services/internal/T5ComponentRequestFilter.java
> 
> It is correctly contributed on the SecurityModule :
> 
>   public static void contributeComponentRequestHandler(
>             OrderedConfiguration<ComponentRequestFilter> configuration) {
>           configuration.addInstance("T5ComponentRequestFilter",
> T5ComponentRequestFilter.class);
>         }
> 
> I've checked that the T5ComponentRequestFilter is correctly created, but
> the handleComponentEvent or handlePageRender method are never called.
And
> the onActivate method of my test page is called.
> 
> Any ideas ?
> 
> On Wed, 19 May 2010 18:01:56 +1000, Geoff Callender
> <geoff.callender.jumpst...@gmail.com> wrote:
>> And it is demonstrated here:
>> 
>>
>
        
http://jumpstart.doublenegative.com.au/jumpstart/examples/infrastructure/protectingpages
>> 
>> Geoff
>> 
>> On 19/05/2010, at 5:03 AM, Nicolas Bouillon wrote:
>> 
>>> Le 18/05/2010 20:55, Thiago H. de Paula Figueiredo a écrit :
>>>> On Tue, 18 May 2010 15:20:58 -0300, Nicolas Bouillon
>>>> <nico...@bouil.org> wrote:
>>>> 
>>>>> I guess you mean ComponentEventRequestFilter, like this kind of stuf
> :
>>>> 
>>>> Yes, I made a typo in the
>>>> 
>>>>>
>
http://www.chenillekit.org/chenillekit-access/xref/org/chenillekit/access/services/impl/ComponentEventAccessFilter.html
>>>>> ?
>>>> 
>>>> A little bit, but I forgot about ComponentRequestFilter. It is a
> better
>>>> choice, as it handles both event and render requests.
>>>> 
>>> And it is explained here :
>>>
>
http://tapestryjava.blogspot.com/2009/12/securing-tapestry-pages-with.html
>>> 
>>> :-D
>>> 
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> 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