Class Sudo
Executes code without permission
checking.
You as process developer are responsible to check security permission of the current user in your process when using this method! Ensure that only authorized user can execute the process calling this method.
Use with care, since this can cause severe security problems!
- Since:
- 9.3
- API:
- This is a public API.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T
static void
execute
(Executable executable) Executes theexecute
method of the givenExecutable
.static <T> T
static void
-
Method Details
-
get
Executes the
get
method of the givenSupplier
and returns the returned value.Checking of
permissions
are disabled while calling theget
method.You as process developer are responsible to check security permission of the current user in your process when using this method! Ensure that only authorized user can execute the process calling this method.
Use with care, since this can cause severe security problems!
- Type Parameters:
T
-- Parameters:
supplier
-- Returns:
- value returned by the given supplier
- Since:
- 9.3
- See Also:
- API:
- This public API is available in Java.
-
call
Executes the
call
method of the givenCallable
and returns the returned value.Checking of
permissions
are disabled while calling the {Callable#call() call} method.You as process developer are responsible to check security permission of the current user in your process when using this method! Ensure that only authorized user can execute the process calling this method.
Use with care, since this can cause severe security problems!
-
run
Executes the
run
method of the givenRunnable
.Checking of
permissions
are disabled while calling the {Runnable#run() run} method.You as process developer are responsible to check security permission of the current user in your process when using this method! Ensure that only authorized user can execute the process calling this method.
Use with care, since this can cause severe security problems!
- Parameters:
runnable
-- Since:
- 9.3
- See Also:
- API:
- This public API is available in Java.
-
execute
Executes the
execute
method of the givenExecutable
.Checking of
permissions
are disabled while calling the {Executable#execute() execute} method.You as process developer are responsible to check security permission of the current user in your process when using this method! Ensure that only authorized user can execute the process calling this method.
Use with care, since this can cause severe security problems!
-