What I'm doing is to override the defaults, this is quicker/easier (for me
at least) than option 2:

Remove from appKernel any reference to "security": SecurityBundle, and
SecurityExtraBundle,

Also, comment out/remove reference to JMS in config.yml (The lasts lines of
the file) and of course
comment out/remove the import of security.yml in the same file at the
begining.

Clear the cache, and bingo, there you have.

2011/5/29 Alessandro Desantis <desa.alessan...@gmail.com>

> Hi all,
>
> I'm new to Symfony2. I was wondering if it is possible to delete the
> default security.yml file without throwing any error. If I try to
> comment out the line which imports the file, a
> "ServiceNotFoundException" with the following message 'The service
> "security.access.method_interceptor" has a dependency on a non-
> existent service "security.context"' is thrown.
>
> Any suggestions?
> Thanks in advance.
>
> --
> Alessandro 'alessandro1997' Desantis
> desa.alessan...@gmail.com
>
> --
> 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 symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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 symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to