Project

General

Profile

Feature #6257

Move user authentication from local.inc.php to the security provider

Added by Julio Montoya almost 6 years ago. Updated almost 6 years ago.

Status:
Feature implemented
Priority:
Normal
Assignee:
-
Category:
-
Target version:
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

Related to Chamilo LMS - Feature #6711: Roles in ChamiloNew18/09/2013

Actions

Associated revisions

Revision 0602af23 (diff)
Added by Julio Montoya almost 6 years ago

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

History

#1

Updated by Julio Montoya almost 6 years ago

  • Status changed from New to Feature implemented
  • Target version set to 2.0
  • % Done changed from 0 to 100

Also available in: Atom PDF