com.caucho.security
Class PermissionConfig

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

public class PermissionConfig
extends java.lang.Object

Permission configuration.


Constructor Summary
PermissionConfig()
           
 
Method Summary
 void addArg(java.lang.Object obj)
          Adds an argument to the type.
 java.security.Permission getPermission()
          Returns the permission.
 void init()
          Creates the permission.
 void setType(InstantiationConfig type)
          Sets the permission type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermissionConfig

public PermissionConfig()
Method Detail

setType

public void setType(InstantiationConfig type)
             throws ConfigException
Sets the permission type.

Throws:
ConfigException

addArg

public void addArg(java.lang.Object obj)
Adds an argument to the type.


init

public void init()
          throws java.lang.Exception
Creates the permission.

Throws:
java.lang.Exception

getPermission

public java.security.Permission getPermission()
Returns the permission.