Feature #6257
Move user authentication from local.inc.php to the security provider
Start date:
24/06/2013
Due date:
% Done:
100%
Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?
Description
In order to implement roles we need to change the way we authentificate to Chamilo.
Symfony2/Silex have this out of the box (user authentification with roles).
See http://silex.sensiolabs.org/doc/providers/security.html
And the implementation using doctrine:
http://symfony.com/doc/current/cookbook/security/entity_provider.html
Related issues
Associated revisions
History
Updated by Julio Montoya over 7 years ago
- Status changed from New to Feature implemented
- Target version set to 2.0
- % Done changed from 0 to 100
Using the new role approach. The user authentification now depends in the SecurityServiceProvider settings. This service depends as well in the SessionServiceProvider.
Users are login/logout using that service, we don't use anymore the local.inc.php (the cas, openid, will be disabled for now).
This service loads the user information depending in the Entity\User and Entity\Repository\UserRepository see #6257