public function validForUpdate($user, array $credentials)
    {
        if ($user instanceof UserInterface)
        {
            $user = $user->getUserId();
        }

        return $this->validate($credentials, $user);
    }