Skip to content

Improve the Extensibility of Authentication #5933

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
atrauzzi opened this issue Nov 7, 2012 · 2 comments
Closed

Improve the Extensibility of Authentication #5933

atrauzzi opened this issue Nov 7, 2012 · 2 comments
Labels

Comments

@atrauzzi
Copy link

atrauzzi commented Nov 7, 2012

I can spare this issue report with too long-winded a description with the following: https://groups.google.com/forum/?fromgroups=#!topic/symfony2/AZpgbEk4Src

The short version I'll mention here is:

I really think the authentication system in Symfony puts way too much hassle on the developer just to alter a few behaviours. In my case, that is to allow users with a null password value to sign in without a password (intranet solution).
There's definite room if not need for improvement as I've spent a considerable amount of time trying to figure out a solution and am still turning up empty handed.

I've got a pastebin in the thread above which outlines one approach I took which was to extend the Dao classes, but none of it is really coming together. My authentication providers gets instantiated... I'm not entirely certain what needs what for the whole mechanism to "grab hold" of my implementation.

While I recognize it's a no-no to report a ticket for something that seems like a request for help; I feel I've made it past that point and into the realm of "this really needs to be better". Having spoken on IRC and groups with some people confirming that things could be better, or just not getting any clear direction, this merits a closer look.

Overall Symfony's conceptualization of security makes good sense, I feel that there might be some hairy spots in the implementation that make it not in any way useful or usable for most developers - like me! :D

@javiereguiluz
Copy link
Member

Although this issue mentions a specific problem, at the end it looks like a general question about improving the security component. Given that we now have the DX initiative I think we should close this issue and open, if needed, specific DX issues about security.

@stof
Copy link
Member

stof commented Sep 12, 2014

agreed. Thus we already introduced some simplified extension points in the Security component since this issue was opened. Closing it

@stof stof closed this as completed Sep 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants