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:
|Constructor and Description|
Creates a new JndiPermission with no actions
Creates a new JndiPermission with actions
equals, getActions, hashCode, implies, newPermissionCollection
public JndiPermission(String name)
name- - JNDI resource path name
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.