Hi Dennis,

I had similar problems and made these mistakes:

- the login-form has to post the content (not method="get")
- instead of  pattern:  ^/login now I use pattern ^/login$ (don't know
why)

regards
Peter

On 4 Apr., 22:27, Dennis Jacobfeuerborn <djacobfeuerb...@gmail.com>
wrote:
> I just upgraded from PR8 to the current git state but this broke the
> security stuff. Apparently the security component no longer handles the
> _security_check route?
>
> Unable to find the controller for path "/login_check". Maybe you forgot to
> add the matching route in your routing configuration?
>
> This is what the route looks like:
>
> _security_check:
>     pattern:  /login_check
>
> and this is what security.yml looks like:
>
> security:
>     encoders:
>         Symfony\Component\Security\Core\User\User:
>             algorithm: sha1
>             encode-as-base64: false
>             iterations: 1
>
>     role_hierarchy:
>         ROLE_ADMIN:       ROLE_USER
>         ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]
>
>     providers:
>         in_memory:
>             users:
>                 admin: { password: <some secret hash>, roles: [ 'ROLE_ADMIN'
> ] }
>
>     firewalls:
>         profiler:
>             pattern:  ^/_profiler
>             security: false
>
>         wdt:
>             pattern:  ^/_wdt
>             security: false
>
>         login:
>             pattern:  ^/login
>             security: true
>             anonymous: true
>
>         secured_area:
>             pattern:  ^/
>             form_login:
>                 check_path: /login_check
>                 login_path: /login
>             logout:
>                 path:   /logout
>                 target: /login
>             #anonymous: ~
>             #http_basic:
>             #    realm: "Secured Demo Area"
>
>     access_control:
>         - { path: /login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
>         - { path: /.*, roles: ROLE_USER }
>
> Any ideas on what might be missing here?
>
> Regards,
>   Dennis

-- 
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