@Deprecated public class SessionService extends AbstractRPCService
Session
util
Constructor and Description |
---|
SessionService()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getSessionTimeOut()
Deprecated.
Gets the time in minutes when a session
is automatically logged out.
|
VersionInfo |
getVersion()
Deprecated.
Return information about which Base version is in use.
|
java.lang.String |
login(java.lang.String ID,
java.lang.String login,
java.lang.String password,
java.lang.String comment)
Deprecated.
Service to login to BASE
|
java.lang.String |
logout(java.lang.String ID)
Deprecated.
Service to logout from BASE
|
java.lang.String |
newSession(java.lang.String externalClientId)
Deprecated.
Creates a new session control.
|
java.lang.String |
refreshSession(java.lang.String ID)
Deprecated.
Refresh a session so the time for logging out will be reset.
|
attachFile, getRemoteId, getSessionControl
public java.lang.String newSession(java.lang.String externalClientId)
externalClientId
- The external id of a BASE client, or null if
the application hasn't been registered as a client applicationpublic java.lang.String login(java.lang.String ID, java.lang.String login, java.lang.String password, java.lang.String comment)
ID
- Id of a session controllogin
- Login name for the account to usepassword
- Password for the login above.comment
- Comment to be used with the new sessionpublic java.lang.String logout(java.lang.String ID)
ID
- Id of the session to logout.public java.lang.Integer getSessionTimeOut()
public java.lang.String refreshSession(java.lang.String ID)
ID
- The session id as a stringpublic VersionInfo getVersion()
VersionInfo
object