aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Servers')
-rw-r--r--OpenSim/Framework/Servers/RestSessionService.cs15
1 files changed, 14 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/RestSessionService.cs b/OpenSim/Framework/Servers/RestSessionService.cs
index 3c79844..1ed349f 100644
--- a/OpenSim/Framework/Servers/RestSessionService.cs
+++ b/OpenSim/Framework/Servers/RestSessionService.cs
@@ -150,7 +150,9 @@ namespace OpenSim.Framework.Servers
150 private RestDeserialiseMethod<TRequest, TResponse> m_method; 150 private RestDeserialiseMethod<TRequest, TResponse> m_method;
151 private CheckIdentityMethod m_smethod; 151 private CheckIdentityMethod m_smethod;
152 152
153 public RestDeserialiseSecureHandler(string httpMethod, string path, RestDeserialiseMethod<TRequest, TResponse> method, CheckIdentityMethod smethod) 153 public RestDeserialiseSecureHandler(
154 string httpMethod, string path,
155 RestDeserialiseMethod<TRequest, TResponse> method, CheckIdentityMethod smethod)
154 : base(httpMethod, path) 156 : base(httpMethod, path)
155 { 157 {
156 m_smethod = smethod; 158 m_smethod = smethod;
@@ -186,7 +188,18 @@ namespace OpenSim.Framework.Servers
186 public class RestDeserialiseTrustedHandler<TRequest, TResponse> : BaseRequestHandler, IStreamHandler 188 public class RestDeserialiseTrustedHandler<TRequest, TResponse> : BaseRequestHandler, IStreamHandler
187 where TRequest : new() 189 where TRequest : new()
188 { 190 {
191 /// <summary>
192 /// The operation to perform once trust has been established.
193 /// </summary>
194 /// <param name="httpMethod"></param>
195 /// <param name="path"></param>
196 /// <param name="method"></param>
197 /// <param name="tmethod"></param>
189 private RestDeserialiseMethod<TRequest, TResponse> m_method; 198 private RestDeserialiseMethod<TRequest, TResponse> m_method;
199
200 /// <summary>
201 /// The method used to check whether a request is trusted.
202 /// </summary>
190 private CheckTrustedSourceMethod m_tmethod; 203 private CheckTrustedSourceMethod m_tmethod;
191 204
192 public RestDeserialiseTrustedHandler(string httpMethod, string path, RestDeserialiseMethod<TRequest, TResponse> method, CheckTrustedSourceMethod tmethod) 205 public RestDeserialiseTrustedHandler(string httpMethod, string path, RestDeserialiseMethod<TRequest, TResponse> method, CheckTrustedSourceMethod tmethod)