Package com.xensource.xenapi
Class Session.Record
java.lang.Object
com.xensource.xenapi.Session.Record
- All Implemented Interfaces:
Types.Record
- Enclosing class:
- Session
Represents all the fields in a Session
-
Field Summary
FieldsModifier and TypeFieldDescriptionthe subject name of the user that was externally authenticated.the subject identifier of the user that was externally authenticated.indicates whether this session was authenticated using a client certificate First published in 21.2.0.true iff this session was created using local superuser credentials First published in XenServer 5.5.Timestamp for last time session was activea key string provided by a API user to distinguish itself from other users sharing the same login name First published in XenServer 6.2.additional configuration First published in XenServer 4.1.references the parent session that created this session First published in XenServer 5.6.True if this session relates to a intra-pool login, false otherwiselist with all RBAC permissions for this session First published in XenServer 5.6.references the subject instance that created the session.list of tasks created using the current session First published in XenServer 5.6.Currently connected hostCurrently connected userUnique identifier/object referencetime when session was last validated First published in XenServer 5.5. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
uuid
Unique identifier/object reference -
thisHost
Currently connected host -
thisUser
Currently connected user -
lastActive
Timestamp for last time session was active -
pool
True if this session relates to a intra-pool login, false otherwise -
otherConfig
additional configuration First published in XenServer 4.1. -
isLocalSuperuser
true iff this session was created using local superuser credentials First published in XenServer 5.5. -
subject
references the subject instance that created the session. If a session instance has is_local_superuser set, then the value of this field is undefined. First published in XenServer 5.5. -
validationTime
time when session was last validated First published in XenServer 5.5. -
authUserSid
the subject identifier of the user that was externally authenticated. If a session instance has is_local_superuser set, then the value of this field is undefined. First published in XenServer 5.5. -
authUserName
the subject name of the user that was externally authenticated. If a session instance has is_local_superuser set, then the value of this field is undefined. First published in XenServer 5.6. -
rbacPermissions
list with all RBAC permissions for this session First published in XenServer 5.6. -
tasks
list of tasks created using the current session First published in XenServer 5.6. -
parent
references the parent session that created this session First published in XenServer 5.6. -
originator
a key string provided by a API user to distinguish itself from other users sharing the same login name First published in XenServer 6.2. -
clientCertificate
indicates whether this session was authenticated using a client certificate First published in 21.2.0.
-
-
Constructor Details
-
Record
public Record()
-
-
Method Details
-
toString
-
toMap
Convert a session.Record to a Map- Specified by:
toMap
in interfaceTypes.Record
-