mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
* Beginnings of a Security Credential system in MRM. This will eventually lead to trusted execution of untrusted MRMs.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user