diff options
author | Adam Frisby | 2007-06-09 01:27:02 +0000 |
---|---|---|
committer | Adam Frisby | 2007-06-09 01:27:02 +0000 |
commit | 0a600b2dbfc2abbce8e80c9158b9d77cef9ff598 (patch) | |
tree | dc0067cbb1a4cf5a1a1d85eecbbc4cd320dac72c /OpenGridServices/OpenGridServices.UserServer/Main.cs | |
parent | * Sugilite user server can now return user profile information by account nam... (diff) | |
download | opensim-SC-0a600b2dbfc2abbce8e80c9158b9d77cef9ff598.zip opensim-SC-0a600b2dbfc2abbce8e80c9158b9d77cef9ff598.tar.gz opensim-SC-0a600b2dbfc2abbce8e80c9158b9d77cef9ff598.tar.bz2 opensim-SC-0a600b2dbfc2abbce8e80c9158b9d77cef9ff598.tar.xz |
* Just for the heck of it - added a UUID based equivilent too.
Diffstat (limited to 'OpenGridServices/OpenGridServices.UserServer/Main.cs')
-rw-r--r-- | OpenGridServices/OpenGridServices.UserServer/Main.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenGridServices/OpenGridServices.UserServer/Main.cs b/OpenGridServices/OpenGridServices.UserServer/Main.cs index f2cefe5..1d7fda6 100644 --- a/OpenGridServices/OpenGridServices.UserServer/Main.cs +++ b/OpenGridServices/OpenGridServices.UserServer/Main.cs | |||
@@ -106,7 +106,10 @@ namespace OpenGridServices.UserServer | |||
106 | BaseHttpServer httpServer = new BaseHttpServer(8002); | 106 | BaseHttpServer httpServer = new BaseHttpServer(8002); |
107 | 107 | ||
108 | httpServer.AddXmlRPCHandler("login_to_simulator", m_userManager.XmlRpcLoginMethod); | 108 | httpServer.AddXmlRPCHandler("login_to_simulator", m_userManager.XmlRpcLoginMethod); |
109 | |||
109 | httpServer.AddRestHandler("GET", "/user/name/", m_userManager.RestGetUserMethodName); | 110 | httpServer.AddRestHandler("GET", "/user/name/", m_userManager.RestGetUserMethodName); |
111 | httpServer.AddRestHandler("GET", "/user/uuid/", m_userManager.RestGetUserMethodUUID); | ||
112 | |||
110 | httpServer.AddRestHandler("DELETE", "/usersessions/", m_userManager.RestDeleteUserSessionMethod); | 113 | httpServer.AddRestHandler("DELETE", "/usersessions/", m_userManager.RestDeleteUserSessionMethod); |
111 | 114 | ||
112 | httpServer.Start(); | 115 | httpServer.Start(); |