Security was a part of the dark side of the symfony documentation, it has a dedicated component named Security Component.
This component is configured in the security.yml file of the main application project.
The default configuration is like this one :
# app/config/security.yml
security:
p...