All Packages Class Hierarchy This Package Previous Next Index
Class org.dorm4.security.Permissions
java.lang.Object
|
+----org.dorm4.security.Permissions
- public class Permissions
- extends Object
Provide security related tasks without having to implement for different VMs.
-
FILEREAD
-
-
FILEWRITE
-
-
NETIO
-
-
Permissions()
-
-
executeWithPermissions(int, ISecureCallback, Object)
- Obtains the permission then calls the execute() method of the callback
NETIO
public static final int NETIO
FILEREAD
public static final int FILEREAD
FILEWRITE
public static final int FILEWRITE
Permissions
public Permissions()
executeWithPermissions
public static Object executeWithPermissions(int permission,
ISecureCallback callback,
Object param) throws Exception
- Obtains the permission then calls the execute() method of the callback
- Throws: Exception
- Thrown from the callback
All Packages Class Hierarchy This Package Previous Next Index