aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule/SecurityCredential.cs
diff options
context:
space:
mode:
authorAdam Frisby2009-08-16 03:48:16 +1000
committerAdam Frisby2009-08-16 03:48:16 +1000
commit9090a907692e7deaafd79150bf6482507be86d55 (patch)
tree487252fb365fde827f77b5599a0cc9cfed20c8ae /OpenSim/Region/OptionalModules/Scripting/Minimodule/SecurityCredential.cs
parentDeal with possible race in TestAddNeighborRegion in ScenePresenceTests (diff)
downloadopensim-SC-9090a907692e7deaafd79150bf6482507be86d55.zip
opensim-SC-9090a907692e7deaafd79150bf6482507be86d55.tar.gz
opensim-SC-9090a907692e7deaafd79150bf6482507be86d55.tar.bz2
opensim-SC-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.cs21
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 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4
5namespace 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}