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> Tstatic voidexecute(Executable executable) Executes theexecutemethod of the givenExecutable.static <T> Tstatic void
-
Method Details
-
get
Executes the
getmethod of the givenSupplierand returns the returned value.Checking of
permissionsare disabled while calling thegetmethod.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
callmethod of the givenCallableand returns the returned value.Checking of
permissionsare 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
runmethod of the givenRunnable.Checking of
permissionsare 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
executemethod of the givenExecutable.Checking of
permissionsare 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!
-