public function getAuthentication($uri)
    {

        // iterate over all authentications
        /** @var \AppserverIo\Appserver\Core\Api\Node\AuthenticationNode $authenticationNode */
        foreach ($this->getAuthentications() as $authenticationNode) {
            // if we found one with a matching URI we will return it
            if ($authenticationNode->getUri() === $uri) {
                return $authenticationNode;
            }
        }

        // we did not find anything
        return false;
    }