public class MBeanTrustPermission extends java.security.BasicPermission
"register" and "*", the latter
representing both the existing "register" target
and any future targets.| Constructor and Description |
|---|
MBeanTrustPermission(java.lang.String target)
Constructs a
MBeanTrustPermission with the given target. |
MBeanTrustPermission(java.lang.String target,
java.lang.String actions)
Constructs a
MBeanTrustPermission with the given target
and actions. |
public MBeanTrustPermission(java.lang.String target)
MBeanTrustPermission with the given target.
The target must be either "register" or "*".
The actions of the permission default to null,
so this is equivalent to calling
MBeanTrustPermission(target, null).target - the target of this permission.java.lang.NullPointerException - if target is null.java.lang.IllegalArgumentException - if the target is other than
"register" or "*".MBeanTrustPermission(String, String)public MBeanTrustPermission(java.lang.String target, java.lang.String actions)
MBeanTrustPermission with the given target
and actions. The target must be either "register"
or "*". The actions must be either null
or the empty string, "".target - the target of this permission.actions - the actions for this permission.java.lang.NullPointerException - if target is null.java.lang.IllegalArgumentException - if the target is other than
"register" or "*"
or actions is other than
null or "".