public IOpenShiftConnection getOpenShiftConnection() throws IOException {
if (service == null) {
try {
UserConfiguration userConfiguration = new UserConfiguration(
new SystemConfiguration(new DefaultConfiguration()));
if (username == null)
username = userConfiguration.getRhlogin();
authKey = getBrokerAuthKey();
authIV = getBrokerAuthIV();
String url = null;
if (brokerHost == null) {
brokerHost = userConfiguration.getLibraServer();
url = "https://" + brokerHost.trim();
LOGGER.info("Initiating Java Client Service - Configured for default OpenShift Server "
+ url);
} else {