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
 java.util.Date lastActive
          Timestamp for last time session was active
 java.util.Map<java.lang.String,java.lang.String> otherConfig
          additional configuration
 Session parent
          references the parent session that created this session
 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
 Subject subject
          references the subject instance that created the session.
 java.util.Set<Task> tasks
          list of tasks created using the current session
 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
 
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


isLocalSuperuser

public java.lang.Boolean isLocalSuperuser
true iff this session was created using local superuser credentials


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.


validationTime

public java.util.Date validationTime
time when session was last validated


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.


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.


rbacPermissions

public java.util.Set<java.lang.String> rbacPermissions
list with all RBAC permissions for this session


tasks

public java.util.Set<Task> tasks
list of tasks created using the current session


parent

public Session parent
references the parent session that created this session

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