String email = getProperty(DockerConstants.DOCKER_EMAIL, configuration, message, String.class);
String serverAddress = getProperty(DockerConstants.DOCKER_SERVER_ADDRESS, configuration, message, String.class);
AuthConfig authConfig = new AuthConfig();
authConfig.setUsername(username);
authConfig.setPassword(password);
authConfig.setEmail(email);
authConfig.setServerAddress(serverAddress);
return authConfig;
}