class DockerRegistryManager implements SecuredEntityManager {

    public Set<String> getRegistryEntries(DockerRegistry registry) {
        String token = getToken(registry, DockerRegistryClaim.LISTING_CLAIM);
        return dockerClientFactory.getDockerClient(registry, token).getRegistryEntries();
    }

}