int
|
buildLastMessageKey(String... serverName)
Create a GUID that is a combination of server/project info in order to maintain a keyed list of last message across server/project at client-side.
|
void
|
changeLocale()
Changes the locale on all sessions in a cluster with the active one to the
setting which is set on the session's preferences.
|
void
|
changePassword(String oldPassword, String newPassword)
Changes the active session's password from the old password given to the new password.
|
void
|
changeSessionFlags()
Changes the session flags for the session.
|
void
|
closeSession(WebIServerSession session)
|
WebIServerSession
|
createLoginFirstSession()
Creates a Login First session
|
int
|
getAvailableAuthModes(WebIServerSession session)
Returns the available authentication modes that may be used with this session.
|
int
|
getAvailableWebLoginModes(WebIServerSession session)
Returns the available web login modes that may be used with this session.
|
int
|
getInitialAuthMode(WebIServerSession session)
|
int
|
getLastMessageKey()
Get cached message key that matches the last message id
|
String
|
getLastMsgIDFromCookie(int msgKey)
Get the last message ID from cookie for provided message key
|
WebIServerSession
|
getLoginFirstSession()
Returns the existing Login First session (already created or restored).
|
static
String
|
getNewRedirectToken()
|
ArrayList
|
getProjectsList(boolean refresh)
Returns an ArrayList of ProjectInformation objects, which contain information about
the projects we are connected to.
|
ArrayList
|
getProjectsList()
Returns an ArrayList of ProjectInformation objects, which contain information about
the projects we are connected to.
|
WebIServerSession
|
getSession(String server, int port, String project)
|
String
|
getUserName()
Attempts to retrieve a printable user name for either the active session, or, if loginFirst is true,
the credentials set on the Session Manager will be used to obtain the user name.
|
boolean
|
hasCredentials()
Returns whether this instance of the session manager contains credentials internally.
|
void
|
init()
|
WebIServerSession
|
initActiveSessionFromRequest()
This method will examine the request, and attempt to either set the active session properly, or
create a brand new session that will become the active session, if the request asks for
a session on a server without a session and project already created on it.
|
WebIServerSession
|
initActiveSessionFromRequest(ServletWebComponent servletWebComponent)
This method will examine the request, and attempt to either set the active session properly, or
create a brand new session that will become the active session, if the request asks for
a session on a server without a session and project already created on it.
|
WebIServerSession
|
initActiveSessionFromRequest(ServletWebComponent servletWebComponent, boolean doNotInvalidateSession)
This method will examine the request, and attempt to either set the active session properly, or
create a brand new session that will become the active session, if the request asks for
a session on a server without a session and project already created on it.
|
boolean
|
isAdminUser()
Returns whether the active session's user is an administrative user or not.
|
boolean
|
isLoginFirstEnabled()
|
boolean
|
isSSOLoging()
|
boolean
|
isSeamlessLoginEnabled()
|
boolean
|
needNewPswd()
Returns whether the user needs to update password or not.
|
void
|
removeActiveSession()
Removes the active session from the list, closing it if the external security
manager setup on the application context says to do so.
|
void
|
removeAllSessions()
Removes all sessions from the list, closing them if the external security
manager setup on the application context says to do so.
|
boolean
|
restoreSessionListState(WebIServerSessionList list, String state)
|
boolean
|
restoreState(SAXSupport saxSupport, String a, String b, String c, Attributes attrs)
Restores a component from an embedded XML during a SAX parsing.
|
boolean
|
restoreState(RequestKeys keys, String key, String state)
|
void
|
saveState(StringBuffer buf, int howMuchState)
Saves and stores a component's state into a StringBuffer .
|
void
|
setCredentials(String uid, String pwd, int authMode)
Sets the credentials for the active session.
|
void
|
updateActiveSession(WebIServerSession wiss)
Sets passed session as the existing active session
|
void
|
validatePrivileges(WebIServerSession session)
|
void
|
validateSession(boolean refresh)
This method attempts to validate the active session.
|
void
|
validateSession(WebIServerSession session)
This method attempts to validate the given session.
|
void
|
validateSession()
This method attempts to validate the active session.
|