com.xensource.xenapi
Class Session.Record

java.lang.Object
  extended by com.xensource.xenapi.Session.Record
All Implemented Interfaces:
Types.Record
Enclosing class:
Session

public static class Session.Record
extends java.lang.Object
implements Types.Record

Represents all the fields in a Session


Field Summary
 java.lang.String authUserName
          the subject name of the user that was externally authenticated.
 java.lang.String authUserSid
          the subject identifier of the user that was externally authenticated.
 java.lang.Boolean isLocalSuperuser
          true iff this session was created using local superuser credentials First published in XenServer 5.5.
 java.util.Date lastActive
          Timestamp for last time session was active
 java.lang.String 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.
 java.util.Map<java.lang.String,java.lang.String> otherConfig
          additional configuration First published in XenServer 4.1.
 Session parent
          references the parent session that created this session First published in XenServer 5.6.
 java.lang.Boolean pool
          True if this session relates to a intra-pool login, false otherwise
 java.util.Set<java.lang.String> rbacPermissions
          list with all RBAC permissions for this session First published in XenServer 5.6.
 Subject subject
          references the subject instance that created the session.
 java.util.Set<Task> tasks
          list of tasks created using the current session First published in XenServer 5.6.
 Host thisHost
          Currently connected host
 User thisUser
          Currently connected user
 java.lang.String uuid
          Unique identifier/object reference
 java.util.Date validationTime
          time when session was last validated First published in XenServer 5.5.
 
Constructor Summary
Session.Record()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> toMap()
          Convert a session.Record to a Map
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

uuid

public java.lang.String uuid
Unique identifier/object reference


thisHost

public Host thisHost
Currently connected host


thisUser

public User thisUser
Currently connected user


lastActive

public java.util.Date lastActive
Timestamp for last time session was active


pool

public java.lang.Boolean pool
True if this session relates to a intra-pool login, false otherwise


otherConfig

public java.util.Map<java.lang.String,java.lang.String> otherConfig
additional configuration First published in XenServer 4.1.


isLocalSuperuser

public java.lang.Boolean isLocalSuperuser
true iff this session was created using local superuser credentials First published in XenServer 5.5.


subject

public Subject 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

public java.util.Date validationTime
time when session was last validated First published in XenServer 5.5.


authUserSid

public java.lang.String 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

public java.lang.String 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

public java.util.Set<java.lang.String> rbacPermissions
list with all RBAC permissions for this session First published in XenServer 5.6.


tasks

public java.util.Set<Task> tasks
list of tasks created using the current session First published in XenServer 5.6.


parent

public Session parent
references the parent session that created this session First published in XenServer 5.6.


originator

public java.lang.String 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.

Constructor Detail

Session.Record

public Session.Record()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toMap

public java.util.Map<java.lang.String,java.lang.Object> toMap()
Convert a session.Record to a Map

Specified by:
toMap in interface Types.Record