-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Symfony security component documentation is bad structured #6861
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
Comments
Just came here to open an issue for this. 100% agree, even as a long time Symfony user I feel it is hard to understand! Last time I read the chapter it looked like this and from what I recall, that was easier to understand. |
We agree that the Symfony Security docs need a lot of improvements. This is in our priority list ... but it's taking us a lot of time because of the massive complexity of the Security internals. In any case, to focus all our discussions about this in one place, we've created a meta issue in #7496 and we've linked this issue from there. That's why we're closing your issue ... but only to avoid duplicated discussions. We won't forget about what you said here. Thanks! |
@Smolky your good question just pointed out many questions as I had. First, sorry to post on this closed issue. My reason is there may be others who was confused by this security component may come here to seek help. I found the security component is baked into a shape that is very hard to modified to fit my situation. For example, I have a page which some content are restricted to authorized user and some are not. Even a non-authenticated user (anonymous user can access). Can the security component be used to meet this requirement without massive modification? |
Hi. I'm not expert in Symfony, so I think it is better to post your question as a new post (including the version of Symfony you're using). Anyway, I think that in StackOverflow you will find help faster than here. |
In the security component, in the first section, called Authentication. the first paragraph says:
In the point of view from a user that is starting to use this component, this documentation strategy is very frustating
What is a firewall map? (I know it's explained futhermore). Why is has to be able to get the users' credentials from the Request? This means you could be already authenticated or you just submit an login form? What is a Token? Why I need a token with credentials? How long does this token is being valid? What is a TokenStorage? What is his purpose?
I miss very much the following sections:
The text was updated successfully, but these errors were encountered: