[symfony-users] Re: Integrate Sf2 with jquery

2011-06-04 Thread smontes
Sorry for my bad english, Really , I am spanish haha! I guess it is a expression, we say "this sounds chinese to me :-) " Thanks, I will try to create the bundle. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this mes

[symfony-users] Integrate Sf2 with jquery

2011-06-03 Thread smontes
I rode the following messages http://groups.google.com/group/jquery4php/browse_thread/thread/d7291256b04885e , but I do not know if this works for symfony 2 , to beginning the autoload what I have is in php. I do not know how do it work with jquery. -- If you want to report a vulnerability issue

[symfony-users] Re: PR8: Custom roles for access control

2011-05-20 Thread smontes
Hi georg, Could you let me see the code, because I implemented the User and the Role class but this does not work fine. I think that the problem is caused by roles because I put the role IS_AUTHENTICATED_ANONYMOUSLY, this one works fine. My application does not return any exception but this one re

[symfony-users] Re: Problem with authentication on cluster

2011-04-14 Thread smontes
I am using the sandbox of the PR8. I happen the same issue when I use entities on the authentication. the problem (as someone told me) could be related with the property username, because it is sometimes null. But sorry, I did not find the solution. If I find it I will tell you. -- If you want t

[symfony-users] Re: Redirect to especific route after login (_security_check)

2011-04-12 Thread smontes
at this moment my security.yml : firewalls: main: pattern: ^/demo/.* form_login: check_path: /demo/login_check login_path: /demo/login always_use_default_target_path: true default_target_path:

[symfony-users] Re: Redirect to especific route after login (_security_check)

2011-04-12 Thread smontes
at this moment my security.yml : firewalls: main: pattern: ^/demo/.* form_login: check_path: /demo/login_check login_path: /demo/login always_use_default_target_path: true default_target_path:

[symfony-users] Re: Redirect to especific route after login (_security_check)

2011-04-11 Thread smontes
I'm sorry, I had read the whole message but I did not understand you, my English is not good. I think now I understand everything. Thanks for everything and sorry again. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received th

[symfony-users] Re: Redirect to especific route after login (_security_check)

2011-04-11 Thread smontes
so , the solution would be : > >          login: +              pattern:  ^/demo/login$ > >              security: false > > >          secured_area: > >              pattern:  /demo/.* > >              form_login: > >                  check_path: /demo/login_check > >                  login_path:

[symfony-users] Re: Redirect to especific route after login (_security_check)

2011-04-11 Thread smontes
1º - I remove the anonymous entry and put this : firewalls: login: pattern: /demo/login security: false secured_area: pattern: /demo/.* form_login: check_path: /demo/login_check login_path: /de

[symfony-users] Re: Redirect to especific route after login (_security_check)

2011-04-11 Thread smontes
hi, My user is always autenticated as anonymous, so the redirection does not work. security: encoders: Openxesta\UserBundle\Entity\Usuario: algorithm: md5 encode-as-base64: false iterations: 10 role_hierarchy: ROLE_ADMIN: ROLE_USE

[symfony-users] Re: Symfony2 authentication with User Entity

2011-04-11 Thread smontes
}) 2011-04-11T10:30:33+02:00 DEBUG: Notified event "onCoreRequest" to listener "Symfony\Bundle\FrameworkBundle\RequestListener" 2011-04-11T10:30:33+02:00 DEBUG: Notified event "onCoreRequest" to listener "Symfony\Bundle\FrameworkBundle\Profiler

[symfony-users] Re: Symfony2 authentication with User Entity

2011-04-08 Thread smontes
sorry sorry, I beginning :) and I thought my message had not been sent. I think that my problem is too with getSalt() because I use textplain. :P On 8 abr, 09:10, smontes wrote: > I send a message yesterday, but I don`t know if you received it. Could > you answer me, please! -- If you w

[symfony-users] Re: Symfony2 authentication with User Entity

2011-04-08 Thread smontes
I send a message yesterday, but I don`t know if you received it. Could you answer me, please! -- 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" gr

[symfony-users] Re: Symfony2 authentication with User Entity

2011-04-07 Thread smontes
I am using your example and PR8 but it doesn't work, in my case my method getSalt return null, because I am not encripting the password. >public function getSalt() >{ >return null; >} When I introduce the username and passwork incorrect it is shown "Bad credentials" but if the