Le 01/06/2011 12:01, Haulyn Jason a écrit :
Hi,
I am using Security Component, it's easy, but the problem is when I
submit the username and password, I get the following:
The controller must return a response (null given). Did you forget to
add a return statement somewhere in your controller?
Hi, Christophe
You are right, the issue has solved, but I can not understand this design.
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,
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
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