@Scriptable
public final class IxAccessController
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
checkPermission(java.security.Permission p_permission)
Determines whether the access request indicated by the specified
permission should be allowed or denied, based on the security
policy currently in effect.
|
static boolean |
hasPermission(java.security.Permission p_permission)
Determines whether the access request indicated by the specified
permission should be allowed or denied, based on the security
policy currently in effect.
|
public static void checkPermission(java.security.Permission p_permission) throws java.security.AccessControlException
AccessControlException
otherwise.p_permission
- The requested permission.java.security.AccessControlException
- If the specified permission
is not permitted, based on the current security policy.public static boolean hasPermission(java.security.Permission p_permission)
p_permission
- The requested permission.true
if the permission is granted,
or false
if the permission is denied.