The Security Manager allows for intercepting function
and method calls and to decide whether the desired
action should be a) carried out, b) cause the program
to abort or c) allow the security manager policy code
to return a result of its own.
There are cases where a) is desirable, but with the
restriction that after carrying out the desired action,
the scurity manager policy code needs to intercept and
determine the value to be returned.
It should be possible at that point to return the
received return value unchanged, to replace the return
value with one supplied by the security manager policy
code or to have the program aborted.