mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
Adds optional HTTP Basic Authentication to Robust service connectors.
This commit is contained in:
@@ -39,6 +39,7 @@ using System.Collections.Generic;
|
||||
using OpenSim.Server.Base;
|
||||
using OpenSim.Services.Interfaces;
|
||||
using OpenSim.Framework;
|
||||
using OpenSim.Framework.ServiceAuth;
|
||||
using OpenSim.Framework.Servers.HttpServer;
|
||||
using OpenMetaverse;
|
||||
|
||||
@@ -50,8 +51,8 @@ namespace OpenSim.Server.Handlers.GridUser
|
||||
|
||||
private IGridUserService m_GridUserService;
|
||||
|
||||
public GridUserServerPostHandler(IGridUserService service) :
|
||||
base("POST", "/griduser")
|
||||
public GridUserServerPostHandler(IGridUserService service, IServiceAuth auth) :
|
||||
base("POST", "/griduser", auth)
|
||||
{
|
||||
m_GridUserService = service;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user