On 27.12.2010, at 12:21, Gustavo Adrian wrote:

> And on my config_test.yml:
> 
> # ...
> security.config:
>     providers:
>         default:
>             users:
>                 admin:      { password: 1234, roles: [ 'ROLE_IS_ADMIN', 
> 'ROLE_WEB_ACCESS' ] }
>                 web_access: { password: 1234, roles: ROLE_WEB_ACCESS }
>     firewalls:
>         main:
>             pattern:            /.*
>             http_basic:         true
>             stateless:          true
> # ...
> 
> 
> It seems that it ignores the firewalls setting on config_test.yml. It keeps 
> trying to log the user with a form. I tried to deactivate the security from 
> config_test with no luck.
> 
> Am I missing something here?

Hmm this is quite strange indeed. The yml parsing should lead to later entries 
simply overriding previous entries and I am not aware of any hook that the 
security context could even hook in to change this behavior.

regards,
Lukas Kahwe Smith
[email protected]



-- 
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 developers" 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-devs?hl=en

Reply via email to