Provide an option to allow remote calls to the CreateUser method on the UserAccountService

Default is false, as before.
Enabling AllowCreateUser in [UserAccountService] for ROBUST allows avatars to be created via an http call, with viewer 2 appropriate bits and pieces.
Only Ruths can be created at present.
Please don't rely on the config since at some point CreateUser will be moved to a separate co-ordinating service.
This commit is contained in:
Justin Clark-Casey (justincc)
2011-10-18 22:51:40 +01:00
parent 581885da75
commit c85a780583
6 changed files with 84 additions and 10 deletions

View File

@@ -55,7 +55,7 @@ namespace OpenSim.Server.Handlers.UserAccounts
Object[] args = new Object[] { config };
m_UserAccountService = ServerUtils.LoadPlugin<IUserAccountService>(service, args);
server.AddStreamHandler(new UserAccountServerPostHandler(m_UserAccountService));
server.AddStreamHandler(new UserAccountServerPostHandler(m_UserAccountService, serverConfig));
}
}
}