com.vmware.vim25.mo
Class GuestAuthManager
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.GuestAuthManager
public class GuestAuthManager
- extends ManagedObject
provides APIs to manipulate the guest operating authentication
- Since:
- SDK5.0
- Author:
- Steve Jin (http://www.doublecloud.org)
| Methods inherited from class com.vmware.vim25.mo.ManagedObject |
convertMors, getCurrentProperty, getDatastores, getFilter, getHosts, getManagedObject, getManagedObjects, getManagedObjects, getMOR, getNetworks, getPropertiesByPaths, getPropertyByPath, getResourcePools, getScheduledTasks, getServerConnection, getTasks, getViews, getVimService, getVms, retrieveObjectProperties, setMOR, setServerConnection, toString, waitForValues |
GuestAuthManager
public GuestAuthManager(ServerConnection sc,
ManagedObjectReference mor,
VirtualMachine vm)
getVM
public VirtualMachine getVM()
acquireCredentialsInGuest
public GuestAuthentication acquireCredentialsInGuest(GuestAuthentication requestedAuth,
long sessionID)
throws GuestOperationsFault,
TaskInProgress,
InvalidState,
RuntimeFault,
RemoteException
- Throws:
GuestOperationsFault
TaskInProgress
InvalidState
RuntimeFault
RemoteException
releaseCredentialsInGuest
public void releaseCredentialsInGuest(GuestAuthentication auth)
throws GuestOperationsFault,
TaskInProgress,
InvalidState,
RuntimeFault,
RemoteException
- Throws:
GuestOperationsFault
TaskInProgress
InvalidState
RuntimeFault
RemoteException
ValidateCredentialsInGuest
public void ValidateCredentialsInGuest(GuestAuthentication auth)
throws GuestOperationsFault,
InvalidState,
TaskInProgress,
RuntimeFault,
RemoteException
- It should have returned a boolean, but...
Watch out GuestPermissionDenied (subtype of GuestOperationsFault)
for invalid authentication.
- Throws:
GuestOperationsFault
InvalidState
TaskInProgress
RuntimeFault
RemoteException
Copyright © 2011-2012. All Rights Reserved.