OpenSim
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Events
Macros
Services
Connectors
BaseServiceConnector.cs
Go to the documentation of this file.
1
using
System;
2
using
OpenSim.Framework;
3
using
OpenSim.Framework.ServiceAuth;
4
5
using
Nini.Config;
6
7
namespace
OpenSim.Services.Connectors
8
{
9
public
class
BaseServiceConnector
10
{
11
protected
IServiceAuth
m_Auth
;
12
13
public
BaseServiceConnector
() { }
14
15
public
BaseServiceConnector
(IConfigSource config,
string
section)
16
{
17
Initialise(config, section);
18
}
19
20
public
void
Initialise
(IConfigSource config,
string
section)
21
{
22
string
authType = Util.GetConfigVarFromSections<
string
>(config,
"AuthType"
,
new
string
[] {
"Network"
, section },
"None"
);
23
24
switch
(authType)
25
{
26
case
"BasicHttpAuthentication"
:
27
m_Auth =
new
BasicHttpAuthentication
(config, section);
28
break
;
29
}
30
31
}
32
}
33
}
OpenSim.Services.Connectors.BaseServiceConnector.Initialise
void Initialise(IConfigSource config, string section)
Definition:
BaseServiceConnector.cs:20
OpenSim.Framework.ServiceAuth.IServiceAuth
Definition:
IServiceAuth.cs:37
OpenSim.Services.Connectors.BaseServiceConnector.BaseServiceConnector
BaseServiceConnector(IConfigSource config, string section)
Definition:
BaseServiceConnector.cs:15
OpenSim.Services.Connectors.BaseServiceConnector
Definition:
BaseServiceConnector.cs:9
OpenSim.Services.Connectors.BaseServiceConnector.BaseServiceConnector
BaseServiceConnector()
Definition:
BaseServiceConnector.cs:13
OpenSim.Services.Connectors.BaseServiceConnector.m_Auth
IServiceAuth m_Auth
Definition:
BaseServiceConnector.cs:11
OpenSim.Framework.ServiceAuth.BasicHttpAuthentication
Definition:
BasicHttpAuthentication.cs:39
Generated on Wed Apr 6 2016 04:34:58 for OpenSim by
1.8.6