public class SessionManager extends ManagedObject
| Constructor and Description |
|---|
SessionManager(ServerConnection serverConnection,
ManagedObjectReference mor) |
convertMors, getCurrentProperty, getDatastores, getFilter, getHosts, getManagedObject, getManagedObjects, getManagedObjects, getMOR, getNetworks, getPropertiesByPaths, getPropertyByPath, getResourcePools, getScheduledTasks, getServerConnection, getTasks, getViews, getVimService, getVms, retrieveObjectProperties, setMOR, setServerConnection, toString, waitForValuespublic SessionManager(ServerConnection serverConnection, ManagedObjectReference mor)
public UserSession getCurrentSession()
public String getDefaultLocale()
public String getMessage()
public String[] getMessageLocaleList()
public UserSession[] getSessionList()
public String[] getSupportedLocaleList()
public SessionManagerLocalTicket acquireLocalTicket(String userName) throws InvalidLogin, RuntimeFault, RemoteException
InvalidLoginRuntimeFaultRemoteExceptionpublic SessionManagerGenericServiceTicket acquireGenericServiceTicket(SessionManagerServiceRequestSpec spec) throws RuntimeFault, RemoteException
RuntimeFaultRemoteExceptionpublic UserSession cloneSession(String cloneTicket) throws InvalidLogin, RuntimeFault, RemoteException
InvalidLoginRuntimeFaultRemoteExceptionpublic ServiceInstance cloneSession(boolean ignoreCert) throws InvalidLogin, RuntimeFault, RemoteException, MalformedURLException
public String acquireCloneTicket() throws RuntimeFault, RemoteException
RuntimeFaultRemoteExceptionpublic UserSession loginExtensionBySubjectName(String extensionKey, String locale) throws InvalidLogin, InvalidLocale, NotFound, NoClientCertificate, NoSubjectName, RuntimeFault, RemoteException
InvalidLoginInvalidLocaleNotFoundNoClientCertificateNoSubjectNameRuntimeFaultRemoteExceptionpublic UserSession loginExtensionByCertificate(String extensionKey, String locale) throws InvalidLogin, InvalidLocale, NoClientCertificate, RuntimeFault, RemoteException
InvalidLoginInvalidLocaleNoClientCertificateRuntimeFaultRemoteExceptionpublic UserSession impersonateUser(String userName, String locale) throws InvalidLogin, InvalidLocale, RuntimeFault, RemoteException
public UserSession login(String userName, String password, String locale) throws InvalidLogin, InvalidLocale, RuntimeFault, RemoteException
public UserSession loginBySSPI(String base64Token, String locale) throws InvalidLogin, InvalidLocale, SSPIChallenge, RuntimeFault, RemoteException
public UserSession loginByToken(String locale) throws InvalidLogin, InvalidLocale, RuntimeFault, RemoteException
InvalidLoginInvalidLocaleRuntimeFaultRemoteExceptionpublic void logout()
throws RuntimeFault,
RemoteException
RuntimeFaultRemoteExceptionpublic boolean sessionIsActive(String sessionID, String userName) throws RuntimeFault, RemoteException
RuntimeFaultRemoteExceptionpublic void setLocale(String locale) throws InvalidLocale, RuntimeFault, RemoteException
InvalidLocaleRuntimeFaultRemoteExceptionpublic void terminateSession(String[] sessionIDs) throws NotFound, RuntimeFault, RemoteException
NotFoundRuntimeFaultRemoteExceptionpublic void updateServiceMessage(String message) throws RuntimeFault, RemoteException
RuntimeFaultRemoteExceptionCopyright © 2011-2012. All Rights Reserved.