org.apache.naming
public final class JndiPermission extends BasicPermission
The JndiPermission extends the BasicPermission. The permission name is a full or partial jndi resource name. An * can be used at the end of the name to match all named resources that start with name. There are no actions.
Example that grants permission to read all JNDI file based resources:
Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $
Constructor Summary | |
---|---|
JndiPermission(String name)
Creates a new JndiPermission with no actions
| |
JndiPermission(String name, String actions)
Creates a new JndiPermission with actions
|
Parameters: name - JNDI resource path name
Parameters: name - JNDI resource path name actions - JNDI actions (none defined)