Le 01/06/2011 20:26, umpirsky a écrit :
Hi.
The reason I'm posting this question on developers mailing list,a and
not on user mailing list is that topic is a bit advanced and maybe it
will be a suggestion for improovement in the security component.
I have created custom authentication provider and factory, and I want
my login_path and check_path to be routes, instead hardcoded urls. I
need routes because I have check_path like this pattern: /{_locale}/
auth/customer/{username}/hash/{password} and login_path like this
pattern: /{_locale}/not-authenticated.
I have locale in my urls, and I don't want to hardcode them in config.
Don't you think it's better to rely on routes then urls when defining
login_path and check_path?
The Security component is decoupled from the Routing component (they can
be used independently) and the firewall is used before the routing. so
the firewall cannot use routes.
Using the locale in the login path is now supported if you use the
master branch.
--
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 developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en