Re: Login Filter,

2009-12-11 Thread sandeepraj singh
Successfully created a filter inorder to avoid css problem, public void contributePageRenderRequestHandler( OrderedConfiguration configuration, final ApplicationStateManager sessionManager, final RequestGlobals requestGlobals, final LinkSource linkSource) { Pag

Re: Login Filter,

2009-12-09 Thread sandeepraj singh
Hi Thiago, I created my own AccessController dispatcher but i have entered into another problem One first access to any page, redirection to Login page happens but it is without any stylesheet. My order of configuration is configuration.add( "AccessController", accessControlle

Re: Login Filter,

2009-11-26 Thread Thiago H. de Paula Figueiredo
Em Thu, 26 Nov 2009 15:15:13 -0200, Alfonso Quiroga escreveu: Thiago: [...]your dispatcher must be added before the RootPath[...] Is that neccesary? RootPath I think is when you go to "/", this is Index page, and we suppose Index doesn't need security. So I use my security dispatcher AFTER Ro

Re: Login Filter,

2009-11-26 Thread Alfonso Quiroga
Thiago: [...]your dispatcher must be added before the RootPath[...] Is that neccesary? RootPath I think is when you go to "/", this is Index page, and we suppose Index doesn't need security. So I use my security dispatcher AFTER RootPath. Thanks On Thu, Nov 26, 2009 at 8:41 AM, Thiago H. de Paula

Re: Login Filter,

2009-11-26 Thread Thiago H. de Paula Figueiredo
Em Thu, 26 Nov 2009 07:18:53 -0200, Ulrich Stärk escreveu: Use a ComponentRequestFilter. That way you can handle component events and page render requests inside the same filter. It could be a Dispatcher too. The wiki has a nice explanation: http://wiki.apache.org/tapestry/Tapestry5HowTo

Re: Login Filter,

2009-11-26 Thread Thiago H. de Paula Figueiredo
Em Thu, 26 Nov 2009 07:27:16 -0200, Juan E. Maya escreveu: or Tapestry-Spring-Security Integration I don't recommend it because the checks are made in the setup render event, *after* the activate (onActivate()) one. It does not cover action requests, so I created my own one, Tapestry Se

Re: Login Filter,

2009-11-26 Thread Juan E. Maya
U coud also use the Chennilekit Access Module: http://www.chenillekit.org/chenillekit-access/index.html or Tapestry-Spring-Security Integration Or if u want to do everything by yourself u can check their source code. http://www.localhost.nu/java/tapestry-spring-security/ On Thu, Nov 26, 2009 a

Re: Login Filter,

2009-11-26 Thread Ulrich Stärk
Use a ComponentRequestFilter. That way you can handle component events and page render requests inside the same filter. HTH, Uli Am 26.11.2009 10:03 schrieb sandeepraj singh: Hi, I have the following requirement for my application Develop a Tapestry login check Filter which (a) Avoids direc