/** ** It should have returned a boolean, but... * Watch out GuestPermissionDenied (subtype of GuestOperationsFault) * for invalid authentication. */ public void ValidateCredentialsInGuest(GuestAuthentication auth) throws GuestOperationsFault, InvalidState, TaskInProgress, RuntimeFault, RemoteException { getVimService().validateCredentialsInGuest(getMOR(), vm.getMOR(), auth); } }
public GuestAuthManager getAuthManager(VirtualMachine vm) { ManagedObjectReference mor = (ManagedObjectReference) getCurrentProperty("authManager"); return new GuestAuthManager(getServerConnection(), mor, vm); }
public void releaseCredentialsInGuest(GuestAuthentication auth) throws GuestOperationsFault, TaskInProgress, InvalidState, RuntimeFault, RemoteException { getVimService().releaseCredentialsInGuest(getMOR(), vm.getMOR(), auth); }
public GuestAuthentication acquireCredentialsInGuest(GuestAuthentication requestedAuth, long sessionID) throws GuestOperationsFault, TaskInProgress, InvalidState, RuntimeFault, RemoteException { return getVimService().acquireCredentialsInGuest(this.getMOR(), vm.getMOR(), requestedAuth, sessionID); }