org.autoplot.Sandbox

Security Manager which allows Autoplot access to:

Imagined attacks which are still possible: Presently this just logs access. Level FINER implies that the property access would be okay, and FINE implied this needs to be studied more.

Sandbox( )


enterSandbox

enterSandbox( ) → void

lock down this thread and all child threads so that they cannot do damage to the running system.

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getSandboxManager

getSandboxManager( ) → SecurityManager

return a security manager which allows:

This is likely to change from the implementation as things develop, so please review this code if you must know precisely, or perform experiments until you are satisfied with its operation.

Returns:

a java.lang.SecurityManager

[search for examples] [view on GitHub] [view on old javadoc] [view source]