diff options
author | Dr Scofield | 2008-05-20 16:51:45 +0000 |
---|---|---|
committer | Dr Scofield | 2008-05-20 16:51:45 +0000 |
commit | a53cea6b7e4094ea51339c80ab5fe160a19a9f6b (patch) | |
tree | 7294600ad7bbec50ff34e35b1c46a380d2d7d549 /OpenSim/Grid/UserServer/UserManager.cs | |
parent | From: Jeremy Bongio <jbongio@us.ibm.com> (diff) | |
download | opensim-SC-a53cea6b7e4094ea51339c80ab5fe160a19a9f6b.zip opensim-SC-a53cea6b7e4094ea51339c80ab5fe160a19a9f6b.tar.gz opensim-SC-a53cea6b7e4094ea51339c80ab5fe160a19a9f6b.tar.bz2 opensim-SC-a53cea6b7e4094ea51339c80ab5fe160a19a9f6b.tar.xz |
i'm extending the RestStreamHandler.Handler(...) signature to actually
provide OSHttpRequest and OSHttpResponse to our REST handler.
also, this adds proper RestPlugin.IsGod() checking against the X-OpenSim-Godkey
HTTP request header.
last, i added XML doc comments to RestPlugin.cs
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Grid/UserServer/UserManager.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Grid/UserServer/UserManager.cs b/OpenSim/Grid/UserServer/UserManager.cs index 1cf2a48..706f461 100644 --- a/OpenSim/Grid/UserServer/UserManager.cs +++ b/OpenSim/Grid/UserServer/UserManager.cs | |||
@@ -35,6 +35,7 @@ using log4net; | |||
35 | using Nwc.XmlRpc; | 35 | using Nwc.XmlRpc; |
36 | using OpenSim.Framework; | 36 | using OpenSim.Framework; |
37 | using OpenSim.Framework.Communications; | 37 | using OpenSim.Framework.Communications; |
38 | using OpenSim.Framework.Servers; | ||
38 | 39 | ||
39 | namespace OpenSim.Grid.UserServer | 40 | namespace OpenSim.Grid.UserServer |
40 | { | 41 | { |
@@ -53,8 +54,11 @@ namespace OpenSim.Grid.UserServer | |||
53 | /// <param name="request">The request</param> | 54 | /// <param name="request">The request</param> |
54 | /// <param name="path">The path (eg /bork/narf/test)</param> | 55 | /// <param name="path">The path (eg /bork/narf/test)</param> |
55 | /// <param name="param">Parameters sent</param> | 56 | /// <param name="param">Parameters sent</param> |
57 | /// <param name="httpRequest">HTTP request header object</param> | ||
58 | /// <param name="httpResponse">HTTP response header object</param> | ||
56 | /// <returns>Success "OK" else error</returns> | 59 | /// <returns>Success "OK" else error</returns> |
57 | public string RestDeleteUserSessionMethod(string request, string path, string param) | 60 | public string RestDeleteUserSessionMethod(string request, string path, string param, |
61 | OSHttpRequest httpRequest, OSHttpResponse httpResponse) | ||
58 | { | 62 | { |
59 | // TODO! Important! | 63 | // TODO! Important! |
60 | 64 | ||