hi,

i have no access to the user-token when i calling the 'security.context'. the 
logger says that a user has logged in successfully and there are also data in 
the session.

my config:

security:
  encoders:
    users:
      class: Project\UserBundle\Entity\User
      algorithm: plaintext
  providers:
    default:
      entity: { class: UserBundle:User }          
  firewalls:
    default:
      pattern: /backend.*
    login_check:
      pattern: /login_check
      security: true
      anonymous: true
      form_login: true    

    login:
      pattern: /login
      security: true
      anonymous: true

    ROLE_ADMIN: ROLE_USER
    ROLE_SUPERADMIN : ROLE_ADMIN
  access_control:

    - { path: /backend.*, role: ROLE_USER }
    - { path: /login_check, role: IS_AUTHENTICATED_ANONYMOUSLY }

thx for your help

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