Hi Carlos, It works if I use the CloudAuth class, thanks. But I kind of hacked this into my code, by copying all the files in CloudAuth and also server_cipher_auth.rb. As far as I can see, there is nothing simpler on the oca API. Is there any chance of implementing the impersonation as a method into OpenNebula::Client?
Regards, Ricardo From: [email protected] Date: Tue, 8 Jan 2013 12:24:42 +0100 Subject: Re: [one-users] User Impersonation with API To: [email protected] CC: [email protected] Hi,This is done with the server_* drivers, it is explained in detail here [1]The ruby client side is implemented in src/cloud/common [2] Regards [1] http://opennebula.org/documentation:rel3.8:cloud_auth[2] http://dev.opennebula.org/projects/opennebula/repository/show/src/cloud/common?rev=one-3.8 -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualizationwww.OpenNebula.org | [email protected] | @OpenNebula On Mon, Jan 7, 2013 at 3:58 PM, Ricardo Duarte <[email protected]> wrote: Hi there, I'm currently using the Ruby API to implement a custom cloud frontend. The end user will not log with the OpenNebula credentials, so my frontend will not be able to login with the user credentials. But it does have the oneadmin credentials. What I want to do is to impersonate the user, every time I create a virtual machine. Is there a way to do it? Thanks, Ricardo _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
