More work on new authentication service

This commit is contained in:
Melanie
2009-09-04 03:13:32 +01:00
parent e39d0ef627
commit c9a24ece54
5 changed files with 43 additions and 18 deletions

View File

@@ -36,7 +36,7 @@ namespace OpenSim.Server.Handlers.Authentication
{
public class AuthenticationServiceConnector : ServiceConnector
{
//private IAuthenticationService m_AuthenticationService;
private IAuthenticationService m_AuthenticationService;
public AuthenticationServiceConnector(IConfigSource config, IHttpServer server) :
base(config, server)
@@ -51,8 +51,8 @@ namespace OpenSim.Server.Handlers.Authentication
if (authenticationService == String.Empty)
throw new Exception("No AuthenticationService in config file");
//Object[] args = new Object[] { config };
//m_AuthenticationService = ServerUtils.LoadPlugin<IAuthenticationService>(authenticationService, args);
Object[] args = new Object[] { config };
m_AuthenticationService = ServerUtils.LoadPlugin<IAuthenticationService>(authenticationService, args);
//server.AddStreamHandler(new AuthenticationServerGetHandler(m_AuthenticationService));
}