class FreeIpaClientFactory {

    public FreeIpaClient getFreeIpaClientForStackWithPing(Stack stack, String freeIpaFqdn) throws Exception {
        LOGGER.debug("Ping the login endpoint and creating FreeIpaClient for stack {} for {}", stack.getResourceCrn(), freeIpaFqdn);
        return getFreeIpaClient(stack, true, true, Optional.of(freeIpaFqdn));
    }

}