LoginController Class Reference
Detailed Description
LoginController handles the login process.
The controller supports the following actions:
Action login
Try to login the user with the given user/password parameters.
| Parameter | Description |
|---|---|
in user | The login of the user to log in |
in password | The password the user is authenticated with |
out sid | The newly established session id |
out roles | Array of role names assigned to the logged in user |
| Response Actions | |
ok | If login succeeded |
Action logout
Terminate the user session.
Definition at line 55 of file LoginController.php.
Inheritance diagram for LoginController:Public Member Functions | |
| __construct (Session $session, PersistenceFacade $persistenceFacade, PermissionManager $permissionManager, ActionMapper $actionMapper, Localization $localization, Message $message, Configuration $configuration, AuthenticationManager $authenticationManager) | |
| initialize (Request $request, Response $response) | |
Public Member Functions inherited from Controller | |
| __construct (Session $session, PersistenceFacade $persistenceFacade, PermissionManager $permissionManager, ActionMapper $actionMapper, Localization $localization, Message $message, Configuration $configuration) | |
| initialize (Request $request, Response $response) | |
| execute ($method=null) | |
| getRequest () | |
| getResponse () | |
Protected Member Functions | |
| validate () | |
| doExecute () | |
Protected Member Functions inherited from Controller | |
| validate () | |
| executeSubAction ($action) | |
| getLogger () | |
| getSession () | |
| getPersistenceFacade () | |
| getPermissionManager () | |
| getActionMapper () | |
| getLocalization () | |
| getMessage () | |
| getConfiguration () | |
| assignResponseDefaults () | |
| isLocalizedRequest () | |
| checkLanguageParameter () | |
Constructor & Destructor Documentation
| __construct | ( | Session | $session, |
| PersistenceFacade | $persistenceFacade, | ||
| PermissionManager | $permissionManager, | ||
| ActionMapper | $actionMapper, | ||
| Localization | $localization, | ||
| Message | $message, | ||
| Configuration | $configuration, | ||
| AuthenticationManager | $authenticationManager | ||
| ) |
Constructor.
- Parameters
-
$session $persistenceFacade $permissionManager $actionMapper $localization $message $configuration $authenticationManager
Definition at line 70 of file LoginController.php.
Member Function Documentation
- See also
- Controller::initialize()
Definition at line 86 of file LoginController.php.
|
protected |
- See also
- Controller::validate()
Definition at line 98 of file LoginController.php.
|
protected |
- See also
- Controller::doExecute()
Definition at line 122 of file LoginController.php.