* The username to set
* @param password
* The password to set
*/
public static void setCredentials(final Object client, final String username, final String password) {
final RpcServiceClient rpcServiceClient = Rpc.getServiceClient(client);
rpcServiceClient.setUsername(username);
rpcServiceClient.setPassword(password);
}