diff options
author | MW | 2008-07-08 15:36:27 +0000 |
---|---|---|
committer | MW | 2008-07-08 15:36:27 +0000 |
commit | 9a5a7b2614e019e5285beba9fb8f6c7be00e4b43 (patch) | |
tree | 3ff72499dd4645978e0e61cbc9b14a5a0e67f091 /OpenSim/Grid | |
parent | Mantis#1690. Thank you kindly, Melanie for a patch that: (diff) | |
download | opensim-SC_OLD-9a5a7b2614e019e5285beba9fb8f6c7be00e4b43.zip opensim-SC_OLD-9a5a7b2614e019e5285beba9fb8f6c7be00e4b43.tar.gz opensim-SC_OLD-9a5a7b2614e019e5285beba9fb8f6c7be00e4b43.tar.bz2 opensim-SC_OLD-9a5a7b2614e019e5285beba9fb8f6c7be00e4b43.tar.xz |
Added option to userserver config, to be able disable/enable the LLSD Login support. As far as I know, the LLSD login method is currently only used by libsl based clients/bots. So could be useful to be able to disable this if a grid comes under a griefing attack from libsl bots.
Diffstat (limited to 'OpenSim/Grid')
-rw-r--r-- | OpenSim/Grid/UserServer/Main.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Grid/UserServer/Main.cs b/OpenSim/Grid/UserServer/Main.cs index 905bf81..a04b5ef 100644 --- a/OpenSim/Grid/UserServer/Main.cs +++ b/OpenSim/Grid/UserServer/Main.cs | |||
@@ -120,7 +120,10 @@ namespace OpenSim.Grid.UserServer | |||
120 | 120 | ||
121 | m_httpServer.AddHTTPHandler("login", m_loginService.ProcessHTMLLogin); | 121 | m_httpServer.AddHTTPHandler("login", m_loginService.ProcessHTMLLogin); |
122 | 122 | ||
123 | m_httpServer.SetLLSDHandler(m_loginService.LLSDLoginMethod); | 123 | if (Cfg.EnableLLSDLogin) |
124 | { | ||
125 | m_httpServer.SetLLSDHandler(m_loginService.LLSDLoginMethod); | ||
126 | } | ||
124 | 127 | ||
125 | m_httpServer.AddXmlRPCHandler("get_user_by_name", m_userManager.XmlRPCGetUserMethodName); | 128 | m_httpServer.AddXmlRPCHandler("get_user_by_name", m_userManager.XmlRPCGetUserMethodName); |
126 | m_httpServer.AddXmlRPCHandler("get_user_by_uuid", m_userManager.XmlRPCGetUserMethodUUID); | 129 | m_httpServer.AddXmlRPCHandler("get_user_by_uuid", m_userManager.XmlRPCGetUserMethodUUID); |