}
private CIMClient getCIMClient(String url, String namespace, String username, String password) {
CIMClient client = null;
try {
// *****************************
// 1. Create user credentials
// *****************************
UserPrincipal userPr = new UserPrincipal(username);
char [] pwdCharArray = password.toCharArray();
PasswordCredential pwCred = new PasswordCredential(pwdCharArray);
// *****************************
// 2. Set NameSpace
// - URL is set like: http(s)://<IP>:Port
// - Namespace does not need to be specified in COPs if set in this constuctor
// - There is no server authentication being done. Thus: No need for a truststore
// *****************************
CIMNameSpace ns = new CIMNameSpace(url,namespace);
// *****************************
// 3. Create CIM Client
// *****************************
client = new CIMClient(ns,userPr,pwCred);
System.out.println("got new cim client");
} catch(Exception e) {