djoos / EscapeWSSEAuthenticationBundle

Symfony bundle to implement WSSE authentication
http://symfony.com/doc/current/cookbook/security/custom_authentication_provider.html
137 stars 59 forks source link

disable authentication if IS_AUTHENTICATED_ANONYMOUSLY #14

Closed farconada closed 11 years ago

farconada commented 11 years ago

Authentication shouldnt be enforced for routes if IS_AUTHENTICATED_ANONYMOUSLY

wsse_secured: provider: fos_userbundle.wsse pattern: ^/api/.*

access_control:

401 Unauthorized

djoos commented 11 years ago

Hi @farconada,

got it - I'll try to find some time to have a deeper look at this...

Kind regards, David

djoos commented 11 years ago

Hi @farconada,

after getting the latest version of the bundle, please make sure to add anonymous: ~ to your firewall configuration parameters - that should do the trick now...

Hope this helps!

Kind regards, David