PHP Class Sulu\Bundle\SecurityBundle\EventListener\SuluSecurityListener

Datei anzeigen Open project: sulu/sulu

Public Methods

Method Description
__construct ( Sulu\Component\Security\Authorization\SecurityCheckerInterface $securityChecker )
onKernelController ( FilterControllerEvent $event ) Checks if the action is allowed for the current user, and throws an Exception otherwise.

Method Details

__construct() public method

public __construct ( Sulu\Component\Security\Authorization\SecurityCheckerInterface $securityChecker )
$securityChecker Sulu\Component\Security\Authorization\SecurityCheckerInterface

onKernelController() public method

Checks if the action is allowed for the current user, and throws an Exception otherwise.
public onKernelController ( FilterControllerEvent $event )
$event Symfony\Component\HttpKernel\Event\FilterControllerEvent