public function getAuthorizedLocaleList($securityChecker)
    {
        $this->validateSecurityChecker($securityChecker);

        if (!$securityChecker || !$this->isSecuredByLocale()) {
            return $this->getLocaleList();
        }

        $authorizedLocaleList = array();
        foreach ($this->getLocaleList() as $locale) {
            if ($securityChecker->isGranted(self::getRoleForLocale($locale))) {
                $authorizedLocaleList[] = $locale;
            }
        }

        return $authorizedLocaleList;
    }