public class SecuredWebAppSession extends RMISession
adminLogout, baseCurrency, clientAddr, clientHost, connected, credential, hostname, interactive, langCode, locale, password, remoteServer, servername, timeZone, username| Constructor and Description |
|---|
SecuredWebAppSession()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
connect()
Connect to the server.
|
protected MXServerRemote |
getMXServer()
Returns MXServer object depending on some settings.
|
boolean |
isConnected()
Returns whether the session is able to successfully
obtain the access token or not to access business objects.
|
protected UserInfo |
loadUserInfo()
Loads user information based on the access token obtained.
|
disconnect, getBaseLang, getBranding, getLanguageList, getMboSet, getMessage, getMessage, getMessages, getMXServerRemote, getProfile, getProperty, getTaggedMessage, isSupportedLangCode, lookupaddMXSessionListener, connectAsRegUser, getBaseCurrency, getClientAddr, getClientHost, getCredential, getDate, getForUser, getHost, getLocale, getNewSession, getPassword, getServer, getSession, getTenant, getTimeZone, getURLAsString, getUserInfo, getUserName, hasAdminLogout, removeMXSessionListener, setClientAddr, setClientHost, setCredential, setForUser, setHost, setInteractive, setLangCode, setLocale, setMXSessionImplFactory, setPassword, setTenant, setTimeZone, setUserNamepublic boolean isConnected()
isConnected in class MXSessionMXSession.connect(),
MXSession.disconnect()protected MXServerRemote getMXServer() throws MXException, java.net.MalformedURLException, java.rmi.NotBoundException, java.rmi.RemoteException, java.net.UnknownHostException
RMISessiongetMXServer in class RMISessionMXExceptionjava.net.MalformedURLExceptionjava.rmi.NotBoundExceptionjava.rmi.RemoteExceptionjava.net.UnknownHostExceptionprotected UserInfo loadUserInfo() throws MXException, java.rmi.RemoteException
loadUserInfo in class RMISessionMXExceptionjava.rmi.RemoteExceptionRMISession.authenticateUser(String, String)public void connect()
throws MXException,
java.rmi.RemoteException
connect in class RMISessionMXExceptionjava.rmi.RemoteExceptionMXSession.isConnected(),
MXSession.disconnect(),
MXSession.setHost(String),
MXSession.setUserName(String),
MXSession.setPassword(String)