[symfony-users] Re: Security - UserProvider with Web Service - Get the password

2011-06-22 Thread Arturo Sevilla
Hi, loadUserByUsername() is not used to check the password. The password is checked once you get the user in memory by comparing the hashes (or plaintext if no encoder is used). You will need to implement the web service so you could return the user by its username, and configure Symfony so th

[symfony-users] Re: [SF2] WebTestCase - Simulate AJAX Request

2011-06-22 Thread Arturo Sevilla
You would need to set the HTTP Header X-Requested-With to XmlHttpRequest http://stackoverflow.com/questions/3124636/detect-ajax-calling-url -- 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 sub

[symfony-users] AsseticBundle ?

2011-06-20 Thread Arturo Sevilla
Hello, Does Beta5 come without the AsseticBundle installed? I downloaded both the tgz and zip version of Symfony SE with vendors and neither in both files the AsseticBundle was present. Thanks -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-pr

[symfony-users] [Symfony 2] Set cookies with FrameworkExtraBundle

2011-06-15 Thread Arturo Sevilla
Hello, is there a way to set cookies when I am using the @Template annotation of the FrameworkExtraBundle? Without the template you could render the view by using $this->render() and then you could modify the returned Response object. However with the @Template() functionality you return an arr