understand, just like iptable, ^/(account|sales)/  is very very
useful, regex, yes, it's what I need. Thanks very much.

Regards,

Haulyn Jason
Founder, http://domix.in
Rm. 807, Qilu Software Tower, Qilu Software Park
1 Shunhua Rd., High-Tech Development Zone
Jinan, Shandong 250101, P. R. China
Tel: +86 158 5410 3759
Website: http://haulynjason.net



On Wed, Jun 1, 2011 at 7:17 PM, Christophe COEVOET <s...@notk.org> wrote:
> Le 01/06/2011 13:05, Haulyn Jason a écrit :
>
> Hi, Christophe
>
> You are right, the issue has solved, but I can not understand this design.
>
> A firewall is an authentication system. So the pattern says on which part of
> the app the firewall should be applied. If the check path is not behind the
> firewall, it cannot work as you are on a different authentication system (or
> no authentication system if there is no firewall for this path).
>
> In my project, /sales, /cms and /account is individual bundles, /sales
> need to be logined, /cms is public resource, /account handle the login
> logic. Is that mean I have to merge account bundle to sales, otherwise
> the security component can not see it?
>
> Regards,
>
> The pattern of the firewall is a regex. You can use ^/(account|sales)/ as
> pattern so that it matches both of them.
>
> --
> Christophe | Stof
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@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
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@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