Class NoOpSandbox
- java.lang.Object
-
- org.apache.ignite.internal.processors.security.sandbox.NoOpSandbox
-
- All Implemented Interfaces:
IgniteSandbox
public class NoOpSandbox extends Object implements IgniteSandbox
No operation Sandbox.
-
-
Constructor Summary
Constructors Constructor Description NoOpSandbox()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanenabled()<T> Texecute(Callable<T> call)Executescallablewith constraints defined by currentSecuritySubject.
-
-
-
Method Detail
-
execute
public <T> T execute(Callable<T> call) throws IgniteException
Executescallablewith constraints defined by currentSecuritySubject.- Specified by:
executein interfaceIgniteSandbox- Parameters:
call- Callable to execute.- Returns:
- Result of
callable. - Throws:
IgniteException- See Also:
IgniteSecurity.withContext(UUID),IgniteSecurity.withContext(SecurityContext),SecuritySubject.sandboxPermissions()
-
enabled
public boolean enabled()
- Specified by:
enabledin interfaceIgniteSandbox- Returns:
- True if the sandbox is enabled.
-
-