Constructors Summary |
---|
private PriviAction(int action, Object arg)
this.action = action;
this.arg1 = arg;
|
public PriviAction()Creates a PrivilegedAction to get the current security policy object.
action = GET_SECURITY_POLICY;
|
public PriviAction(AccessibleObject object)Creates a PrivilegedAction to disable the access checks to the given
object.
action = SET_ACCESSIBLE;
arg1 = object;
|
public PriviAction(String property)Creates a PrivilegedAction to return the value of the system property
with the given key.
action = GET_SYSTEM_PROPERTY;
arg1 = property;
|
public PriviAction(String property, String defaultAnswer)Creates a PrivilegedAction to return the value of the system property
with the given key.
action = GET_SYSTEM_PROPERTY;
arg1 = property;
arg2 = defaultAnswer;
|