From 867671cfcc7be2ac6cdbcd31d81d57bdba00ed2e Mon Sep 17 00:00:00 2001 From: gareth Date: Fri, 18 May 2007 23:32:41 +0000 Subject: Added session IDs to the grid management agent --- OpenGrid.Framework.Manager/GridManagementAgent.cs | 2 + .../OpenGrid.Framework.Manager.dll.build | 87 +++++++++++----------- 2 files changed, 46 insertions(+), 43 deletions(-) (limited to 'OpenGrid.Framework.Manager') diff --git a/OpenGrid.Framework.Manager/GridManagementAgent.cs b/OpenGrid.Framework.Manager/GridManagementAgent.cs index c8e2cfd..c8f56d1 100644 --- a/OpenGrid.Framework.Manager/GridManagementAgent.cs +++ b/OpenGrid.Framework.Manager/GridManagementAgent.cs @@ -3,6 +3,7 @@ using OpenSim.Framework; using OpenSim.Servers; using System.Collections; using System.Collections.Generic; +using libsecondlife; namespace OpenGrid.Framework.Manager { @@ -44,6 +45,7 @@ namespace OpenGrid.Framework.Manager { // TODO: Switch this over to using OpenGrid.Framework.Data if( requestData["username"].Equals("admin") && requestData["password"].Equals("supersecret")) { response.IsFault=false; + responseData["session_id"]=(LLUUID.Random()).ToString(); responseData["msg"]="Login OK"; } else { response.IsFault=true; diff --git a/OpenGrid.Framework.Manager/OpenGrid.Framework.Manager.dll.build b/OpenGrid.Framework.Manager/OpenGrid.Framework.Manager.dll.build index 08dfed9..888bb3d 100644 --- a/OpenGrid.Framework.Manager/OpenGrid.Framework.Manager.dll.build +++ b/OpenGrid.Framework.Manager/OpenGrid.Framework.Manager.dll.build @@ -1,43 +1,44 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.1