provide remote SSLcommonName to xmlRpcRequest methods, but in a away it can be detected/parsed. This is used by some external modules like DTLNSLMoneyServer. But this module does need to change on this ( and it cannot override default validation rules, it needs to do it on its httplistener with method provided in previus commits
parent
6627da693e
commit
30dccd57cd
|
@ -1231,6 +1231,17 @@ namespace OpenSim.Framework.Servers.HttpServer
|
|||
|
||||
if (gridproxy)
|
||||
xmlRprcRequest.Params.Add("gridproxy"); // Param[4]
|
||||
|
||||
// reserve this for
|
||||
// ... by Fumi.Iseki for DTLNSLMoneyServer
|
||||
// BUT make its presence possible to detect/parse
|
||||
string rcn = request.IHttpClientContext.SSLCommonName;
|
||||
if(!string.IsNullOrWhiteSpace(rcn))
|
||||
{
|
||||
rcn = "SSLCN:" + rcn;
|
||||
xmlRprcRequest.Params.Add(rcn); // Param[4] or Param[5]
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
xmlRpcResponse = method(xmlRprcRequest, request.RemoteIPEndPoint);
|
||||
|
|
Loading…
Reference in New Issue