okay. Thanks for your comment

On Jan 26, 4:56 pm, ken <marfillas...@gmail.com> wrote:
> Sometimes you will need to run the customfilterbefore the securityfilter.
>
> On Jan 26, 5:02 pm, Asif Ali M <l...@reloadtheweb.com> wrote:
>
> > Thanks Dheeraj.
>
> > You are right. the flow is what you explained.
>
> > What I am trying to find is...
>
> > Is it a good practice in symfony to have my customfilterrun before
> > the securityfilter?
>
> > Thanks
> > -Asif
>
> > On Jan 26, 8:20 am, Dheeraj Kumar Aggarwal <dheerajcom...@gmail.com>
> > wrote:
>
> > > Hi
>
> > > in my view .....
>
> > > if you place yourfilterbelow the securityfilter---
> > > In securityfilter, symfony will check whether the user is logged in or not
> > > and if the user is not logged in, it will be redirected to home page as
> > > specified by yourself
>
> > > then again the whole cycle repeats
> > > but now the request url is home page.
>
> > > first goes to securityfilter
>
> > > then it goes to yourfilter, and then user is automatically logged in
> > > and user is on the home page
>
> > > but if you place yourfilterabove the securityfilter---
> > > first it will automatically logged in by yourfilter
> > > then it goes to securityfilter, the user is already logged in so no
> > > redirections will be there.
>
> > > On Mon, Jan 25, 2010 at 6:34 PM, Mohammad Asif Ali
> > > <asifali.m...@gmail.com>wrote:
>
> > > > Any suggestions on myfilterexecution flow?
>
> > > > On Jan 23, 4:53 pm, Asif Ali M <l...@reloadtheweb.com> wrote:
> > > > > Hello Symfonians,
>
> > > > > I am working on symfony 1.0 application. Its a kind of Software as
> > > > > Service model.
>
> > > > > When a user registers he will get his own site (frontend/backend). The
> > > > > users can signup for a 30 days trails. And we have a help document
> > > > > which is having backend page links.
>
> > > > > In the Backend application we are using afilterto auto detect the
> > > > > site.If its in trail mode thefilterwill do auto login and redirected
> > > > > to the accessed page.
>
> > > > > But this is working when we put ourfilterin the following way
> > > > > ( Above securityfilter). If I put the below security its
> > > > > automatically logged in but landed on admin homepage instead of the
> > > > > accessed page
>
> > > > > I would like to know putting afilterabove the Security will be a
> > > > > problem for the application.
>
> > > > > Please share your views
>
> > > > > rendering: ~
> > > > > web_debug: ~
>
> > > > > trail_site_login:
> > > > >   class: trailSiteLoginFilter
>
> > > > > security:  ~
>
> > > > > # generally, you will want to insert your own filters here
>
> > > > > # instead of putting here I put the filer above the security
>
> > > > > cache:     ~
> > > > > common:    ~
> > > > > flash:     ~
> > > > > execution: ~
>
> > > > > Thanks
> > > > > -Asif
>
> > > > --
> > > > You received this message because you are subscribed to the Google 
> > > > Groups
> > > > "symfony users" group.
> > > > To post to this group, send email to symfony-us...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@goog
> > > >  legroups.com>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/symfony-users?hl=en.
>
> > > --
> > > Regards,
> > > Dheeraj

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.

Reply via email to