private function deactivate()
    {
        $guestAccess = new GuestAccess();
        try {
            if ($this->entryPointService->deactivateEntryPoint(
                $guestAccess->getId(),
                EntryPointService::OPTION_PRELOGIN
            )
            ) {
                $rule = new AccessRule('grant', TaoRoles::ANONYMOUS, 'oat\taoDeliveryRdf\controller\Guest@guest');
                AclProxy::revokeRule($rule);

                return Report::createSuccess('The guest entry point has been correctly deactivated');
            } else {
                return Report::createInfo('The guest entry point was already deactivated');
            }
        } catch (\common_exception_InconsistentData $e) {
            return Report::createFailure($e->getMessage());
        }
    }