An instance of this class can be used as the argument of AccessController.doPrivileged
.
The following code retrieves the boolean value of the security property named "prop"
as a privileged action:
boolean b = java.security.AccessController.doPrivileged (new GetBooleanSecurityPropertyAction("prop")).booleanValue();
|
|
|
|
|
|