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, lookup
addMXSessionListener, 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, setUserName
public boolean isConnected()
isConnected
in class MXSession
MXSession.connect()
,
MXSession.disconnect()
protected MXServerRemote getMXServer() throws MXException, java.net.MalformedURLException, java.rmi.NotBoundException, java.rmi.RemoteException, java.net.UnknownHostException
RMISession
getMXServer
in class RMISession
MXException
java.net.MalformedURLException
java.rmi.NotBoundException
java.rmi.RemoteException
java.net.UnknownHostException
protected UserInfo loadUserInfo() throws MXException, java.rmi.RemoteException
loadUserInfo
in class RMISession
MXException
java.rmi.RemoteException
RMISession.authenticateUser(String, String)
public void connect() throws MXException, java.rmi.RemoteException
connect
in class RMISession
MXException
java.rmi.RemoteException
MXSession.isConnected()
,
MXSession.disconnect()
,
MXSession.setHost(String)
,
MXSession.setUserName(String)
,
MXSession.setPassword(String)