An instance of this class can be used as the argument of AccessController.doPrivileged
.
The following code retrieves the value of the system property named "prop"
as a privileged action:
String s = java.security.AccessController.doPrivileged (new GetPropertyAction("prop"));@author Roland Schemers @see java.security.PrivilegedAction @see java.security.AccessController @since 1.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|