eZPublishCommunityProject  2013.9
eZ\Publish\Core\MVC\Legacy\Security\Firewall\LoginCleanupListener Class Reference

Listener meant to cleanup user session when anonymous user has been forced in authentication token (e.g. More...

+ Inheritance diagram for eZ\Publish\Core\MVC\Legacy\Security\Firewall\LoginCleanupListener:
+ Collaboration diagram for eZ\Publish\Core\MVC\Legacy\Security\Firewall\LoginCleanupListener:

Public Member Functions

 onFilterResponse (FilterResponseEvent $e)
 Removes is_logged_in cookie if needed. More...
 
 onInteractiveLogin (InteractiveLoginEvent $e)
 Removes current userId stored in session if needed. More...
 

Static Public Member Functions

static getSubscribedEvents ()
 

Private Attributes

 $needsCookieCleanup = false
 

Detailed Description

Listener meant to cleanup user session when anonymous user has been forced in authentication token (e.g.

when user has been disabled/removed while he was browsing). In this case we need to properly remove the is_logged_in cookie and the user id stored in session.

See Also
https://jira.ez.no/browse/EZP-21520
eZ::authenticate()

Member Function Documentation

static eZ\Publish\Core\MVC\Legacy\Security\Firewall\LoginCleanupListener::getSubscribedEvents ( )
static
eZ\Publish\Core\MVC\Legacy\Security\Firewall\LoginCleanupListener::onFilterResponse ( FilterResponseEvent  $e)

Removes is_logged_in cookie if needed.

Parameters
FilterResponseEvent$e
eZ\Publish\Core\MVC\Legacy\Security\Firewall\LoginCleanupListener::onInteractiveLogin ( InteractiveLoginEvent  $e)

Removes current userId stored in session if needed.

Parameters
InteractiveLoginEvent$e

Member Data Documentation

eZ\Publish\Core\MVC\Legacy\Security\Firewall\LoginCleanupListener::$needsCookieCleanup = false
private

The documentation for this class was generated from the following file: