| |
|
| java.lang.Object java.security.Permission java.security.BasicPermission javax.management.MBeanServerPermission
MBeanServerPermission | public class MBeanServerPermission extends BasicPermission (Code) | | Controls access to actions performed on MBeanServers. The name specifies
the permission applies to an operation. The special value * applies to
all operations.
|
MBeanServerPermission | public MBeanServerPermission(String name)(Code) | | Construct a new MBeanServer permission for a given name
Parameters: name - the name of the permission to grant exception: NullPointerException - if the name is null exception: IllegalArgumentException - if the name is not * or one oflisted names |
MBeanServerPermission | public MBeanServerPermission(String name, String actions)(Code) | | Construct a new MBeanServer permission for a given name
Parameters: name - the name of the permission to grant Parameters: actions - unused exception: NullPointerException - if the name is null exception: IllegalArgumentException - if the name is not * or one of theallowed names or a comma-separated list of the allowed names, or ifactions is a non-null non-empty string. |
implies | public boolean implies(Permission p)(Code) | | Checks if this MBeanServerPermission object "implies" the specified
permission. More specifically, this method returns true if:
p is an instance of MBeanServerPermission,
p's target names are a subset of this object's target names
The createMBeanServer permission implies the newMBeanServer permission.
Parameters: p - |
newPermissionCollection | public PermissionCollection newPermissionCollection()(Code) | | Must override to handle the createMBeanServer <-> newMBeanServer
relationship.
|
toString | public String toString()(Code) | | human readable string. |
|
|
|