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 Object
implements Types.Record

Represents all the fields in a Session


Field Summary
 String authUserName
          the subject name of the user that was externally authenticated.
 String authUserSid
          the subject identifier of the user that was externally authenticated.
 Boolean isLocalSuperuser
          true iff this session was created using local superuser credentials First published in XenServer 5.5.
 Date lastActive
          Timestamp for last time session was active
 Map<String,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.
 Boolean pool
          True if this session relates to a intra-pool login, false otherwise
 Set<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.
 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
 String uuid
          Unique identifier/object reference
 Date validationTime
          time when session was last validated First published in XenServer 5.5.
 
Constructor Summary
Session.Record()
           
 
Method Summary
 Map<String,Object> toMap()
          Convert a session.Record to a Map
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

uuid

public String uuid
Unique identifier/object reference


thisHost

public Host thisHost
Currently connected host


thisUser

public User thisUser
Currently connected user


lastActive

public Date lastActive
Timestamp for last time session was active


pool

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


otherConfig

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


isLocalSuperuser

public 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 Date validationTime
time when session was last validated First published in XenServer 5.5.


authUserSid

public 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 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 Set<String> rbacPermissions
list with all RBAC permissions for this session First published in XenServer 5.6.


tasks

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

Constructor Detail

Session.Record

public Session.Record()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

toMap

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

Specified by:
toMap in interface Types.Record