mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +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.Avatar
|
||||
|
||||
private IAvatarService m_AvatarService;
|
||||
|
||||
public AvatarServerPostHandler(IAvatarService service) :
|
||||
base("POST", "/avatar")
|
||||
public AvatarServerPostHandler(IAvatarService service, IServiceAuth auth) :
|
||||
base("POST", "/avatar", auth)
|
||||
{
|
||||
m_AvatarService = service;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user