protected function passwordProtectedRequest()
    {
        $oInput = Factory::service('Input');
        header('WWW-Authenticate: Basic realm="' . APP_NAME . ' - Restricted Area"');
        header($oInput->server('SERVER_PROTOCOL') . ' 401 Unauthorized');
        $oErrorHandler = Factory::service('ErrorHandler');
        $oErrorHandler->renderErrorView(401);
        exit(401);
    }