# File lib/deltacloud/drivers/vsphere/vsphere_driver.rb, line 376 def valid_credentials?(credentials) begin RbVmomi::VIM.connect(:host => host_endpoint, :user => credentials.user, :password => credentials.password, :insecure => true) && true rescue RbVmomi::Fault::InvalidLogin return false rescue => e safely do raise e end end end