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.


Variable Index

 o FILEREAD
 o FILEWRITE
 o NETIO

Constructor Index

 o Permissions()

Method Index

 o executeWithPermissions(int, ISecureCallback, Object)
Obtains the permission then calls the execute() method of the callback

Variables

 o NETIO
 public static final int NETIO
 o FILEREAD
 public static final int FILEREAD
 o FILEWRITE
 public static final int FILEWRITE

Constructors

 o Permissions
 public Permissions()

Methods

 o 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