com.caucho.security
Class PermissionManager

java.lang.Object
  extended by com.caucho.security.PermissionManager

public class PermissionManager
extends java.lang.Object

Manages the permission for a context.


Constructor Summary
PermissionManager()
           
 
Method Summary
 void checkPermission(java.security.Permission permission)
          Checks the permission.
static PermissionManager getPermissionManager()
          Returns the context security manager.
static void setPermissionManager(PermissionManager manager)
          Sets the context security manager.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PermissionManager

public PermissionManager()
Method Detail

getPermissionManager

public static PermissionManager getPermissionManager()
Returns the context security manager.


setPermissionManager

public static void setPermissionManager(PermissionManager manager)
Sets the context security manager.


checkPermission

public void checkPermission(java.security.Permission permission)
                     throws SecurityException
Checks the permission.

Throws:
SecurityException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object