public function execute($request)
    {
        $logger = $GLOBALS['logger'];

        try {
            parent::execute($request);
        } catch(AuthenticationException $ex) {
            $logger->error('Unauthorized attempt to access resource, being redirected to home page', array($ex->getMessage()));
            $this->_handleUnauthenticatedAccess();
            $this->_response->send();
        }
    }
public function execute($request)
    {
        $logger = $GLOBALS['logger'];

        try {
            parent::execute($request);
        } catch(AuthenticationException $ex) {
            $logger->error('Unauthorized attempt to access resource, being redirected to home page', array($ex->getMessage()));
            $this->_handleUnauthenticatedAccess();
            $this->_response->send();
        }
    }
public function execute ( $ request ) { $ logger = $ GLOBALS [ 'logger' ] ; try { parent :: execute ( $ request ) ; } catch ( AuthenticationException $ ex ) { $ logger -> error ( 'Unauthorized attempt to access resource, being redirected to home page' , array ( $ ex -> getMessage ( ) ) ) ; $ this -> _handleUnauthenticatedAccess ( ) ; $ this -> _response -> send ( ) ; } }
Checks for secure routing,
currently security is handled at a base route level,

@param mixed $request Execute request.

@access public
@return void
Checks for secure routing currently security is handled at a base route level