Package net.sf.basedb.core
Class SessionControl.LoginInfo
java.lang.Object
net.sf.basedb.core.SessionControl.LoginInfo
- Enclosing class:
- SessionControl
private static class SessionControl.LoginInfo extends Object
Internal class to hold information about the logged in user.
-
Field Summary
Fields Modifier and Type Field Description private int
activeProjectId
The id of theProjectData
object of the active project.private String
activeProjectName
The name of the the active project.private AuthenticationMethod
authenticationMethod
The authentication method used to allow the user to login.private int
deviceId
The id of theUserDevice
in use.private String
deviceName
private boolean
impersonated
If the logged in user was logged in with theSessionControl.impersonateLogin(int, String)
private int
itemKeyId
The id of theItemKeyData
object that new items should be shared to.private Keyring
keyring
TheKeyring
of the logged in user.private int
projectKeyId
The id of theProjectKeyData
object that new items should be shared to.private int
sessionId
The id of theSessionData
.private Map<String,SessionControl.SettingInfo>
userClientSettings
Stores name and value fromUserClientSettingData
.private Map<String,SessionControl.SettingInfo>
userDefaultSettings
Stores name and value fromUserDefaultSettingData
.private int
userId
The id of theUserData
object for the logged in user.private String
userLogin
The login property of the logged in user.private String
userName
The name property of the logged in user. -
Constructor Summary
Constructors Modifier Constructor Description private
LoginInfo()
private
LoginInfo(SessionControl.LoginInfo parent)
-
Method Summary
-
Field Details
-
impersonated
private boolean impersonatedIf the logged in user was logged in with theSessionControl.impersonateLogin(int, String)
-
sessionId
private int sessionIdThe id of theSessionData
. -
userId
private int userIdThe id of theUserData
object for the logged in user. -
userLogin
The login property of the logged in user. -
userName
The name property of the logged in user. -
authenticationMethod
The authentication method used to allow the user to login. -
deviceId
private int deviceIdThe id of theUserDevice
in use.- Since:
- 3.12
-
deviceName
-
activeProjectId
private int activeProjectIdThe id of theProjectData
object of the active project. -
activeProjectName
The name of the the active project. -
projectKeyId
private int projectKeyIdThe id of theProjectKeyData
object that new items should be shared to. -
itemKeyId
private int itemKeyIdThe id of theItemKeyData
object that new items should be shared to. -
keyring
TheKeyring
of the logged in user. -
userClientSettings
Stores name and value fromUserClientSettingData
. -
userDefaultSettings
Stores name and value fromUserDefaultSettingData
.
-
-
Constructor Details
-
LoginInfo
private LoginInfo() -
LoginInfo
-