added support for the Symfony Security component #356
Conversation
.. code-block:: json | ||
|
||
"require": { | ||
"symfony/security": "2.1.*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this note is wrong as you added the Security component as a requirement in the composer.json, not only as a dev requirement
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
which was a mistake.
This is awesome. Not only can I throw away my sketchy implementation, I can see all the things I did wrong! Cheers @fabpot! |
|
||
* **login_path**: The login path where the user is redirected when he is | ||
accessing a secured area without being authenticated so that he can enter | ||
his credentials; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure, but this url is also used if a user does not have enough credential for the asked ressource.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lyrixx not really. If the user is already fully logged (remember_me token), he is simply given a chance to authenticate fully. If the user is already fully logged, he should simply receive a 403 response
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stof OK, thanks. I think you forgot a "not already fully logged"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indeed
Commits ------- 1886811 tweaked some docs 6a0f05d tweaked docs 4313458 updated vendors 1286709 moved security to the dev requirements 320a268 updated the changelog 2b711bc added support for the Symfony Security component Discussion ---------- added support for the Symfony Security component Some few things are not (yet) configurable, but this extension should cover most common needs and then some more. It is actually as powerful as the support we have in the Symfony full-stack framework. --------------------------------------------------------------------------- by davedevelopment at 2012-06-13T08:30:42Z This is awesome. Not only can I throw away my sketchy implementation, I can see all the things I did wrong! Cheers @fabpot!
nice 🙌 |
Some few things are not (yet) configurable, but this extension should cover most common needs and then some more. It is actually as powerful as the support we have in the Symfony full-stack framework.