You need to retrieve the security.context service from the DI container, and call ->setToken() with an implementation of TokenInterface.
Regards, Johannes On Nov 22, 9:03 am, gordonslondon <[email protected]> wrote: > Make a request to the login page (with credientials in POST > parameters) works for me. I didn't find any other way. > > I'm also searching a good way to authenticate a user without any > request just a method ( ->authenticate() ); > > Other things where there's a problem is to authenticate when unit- > testing:http://groups.google.com/group/symfony-users/browse_frm/thread/b156be... -- 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 [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-users?hl=en
