* Beginnings of a Security Credential system in MRM. This will eventually lead to trusted execution of untrusted MRMs.

This commit is contained in:
Adam Frisby
2009-08-16 03:48:16 +10:00
parent 6ece8d86e0
commit 9090a90769
6 changed files with 62 additions and 13 deletions

View File

@@ -42,13 +42,22 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
{
private readonly Scene m_rootScene;
private readonly uint m_localID;
private readonly ISecurityCredential m_security;
[Obsolete("Replace with 'credential' constructor [security]")]
public SOPObject(Scene rootScene, uint localID)
{
m_rootScene = rootScene;
m_localID = localID;
}
public SOPObject(Scene rootScene, uint localID, ISecurityCredential credential)
{
m_rootScene = rootScene;
m_localID = localID;
m_security = credential;
}
/// <summary>
/// This needs to run very, very quickly.
/// It is utilized in nearly every property and method.