public function setClientId(ClientId $clientId): self
    {
        $this->clientId = $clientId;
        $this->logger->debug('Set clientId', ['actualClientString' => (string)$clientId]);
        if ($this->clientId->isEmptyClientId()) {
            $this->logger->debug('Empty clientId detected, forcing clean session bit to true');
            $this->setCleanSession(true);
        }

        return $this;
    }