public function getValue(DocumentRepository $repository, $fieldPath)
    {
        $user = 'anonymous';

        $securityUser = $this->securityUtils->getSecurityUser();
        if ($securityUser instanceof SecurityUser) {
            $user = trim(strtolower($securityUser->getUsername()));
        }

        return $user;
    }