diff options
author | Adam Frisby | 2009-08-16 03:48:16 +1000 |
---|---|---|
committer | Adam Frisby | 2009-08-16 03:48:16 +1000 |
commit | 9090a907692e7deaafd79150bf6482507be86d55 (patch) | |
tree | 487252fb365fde827f77b5599a0cc9cfed20c8ae /OpenSim/Region/OptionalModules/Scripting/Minimodule/SecurityCredential.cs | |
parent | Deal with possible race in TestAddNeighborRegion in ScenePresenceTests (diff) | |
download | opensim-SC_OLD-9090a907692e7deaafd79150bf6482507be86d55.zip opensim-SC_OLD-9090a907692e7deaafd79150bf6482507be86d55.tar.gz opensim-SC_OLD-9090a907692e7deaafd79150bf6482507be86d55.tar.bz2 opensim-SC_OLD-9090a907692e7deaafd79150bf6482507be86d55.tar.xz |
* Beginnings of a Security Credential system in MRM. This will eventually lead to trusted execution of untrusted MRMs.
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/SecurityCredential.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/SecurityCredential.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SecurityCredential.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SecurityCredential.cs new file mode 100644 index 0000000..bd4440c --- /dev/null +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SecurityCredential.cs | |||
@@ -0,0 +1,21 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | ||
6 | { | ||
7 | class SecurityCredential : ISecurityCredential | ||
8 | { | ||
9 | private readonly ISocialEntity m_owner; | ||
10 | |||
11 | public SecurityCredential(ISocialEntity m_owner) | ||
12 | { | ||
13 | this.m_owner = m_owner; | ||
14 | } | ||
15 | |||
16 | public ISocialEntity owner | ||
17 | { | ||
18 | get { return m_owner; } | ||
19 | } | ||
20 | } | ||
21 | } | ||