javax.microedition.midlet
Class ActionsDeniedPermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
javax.microedition.midlet.ActionsDeniedPermission
public final class ActionsDeniedPermission
- extends java.security.BasicPermission
ActionsDeniedPermission is required by MIDlets that want to restrict the
actions allowed by an user on a MIDlet or a MIDlet Suite. ActionsDeniedPermission
is used only during the installation and hence the user permission modes
oneshot, session and blanket do not apply to this. Therefore,
ActionsDeniedPermission MUST have only two options: allowed or not allowed.
ActionsDeniedPermission class does not support any names and actions.
- Since:
- MIDP 3.0
Method Summary |
boolean |
implies(java.security.Permission permission)
Checks if the specified permission is "implied" by this object. |
Methods inherited from class java.security.BasicPermission |
equals, getActions, hashCode, newPermissionCollection |
Methods inherited from class java.security.Permission |
getName, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ActionsDeniedPermission
public ActionsDeniedPermission()
- Creates a new
ActionsDeniedPermission
object
- See Also:
MIDlet
implies
public boolean implies(java.security.Permission permission)
- Checks if the specified permission is "implied" by this object.
Returns
true
iff:
permission
's class is the same as this object's class.
- Overrides:
implies
in class java.security.BasicPermission
- Parameters:
permission
- the permission to check against.
- Returns:
true
if the specified permission is implied
by this object, otherwise false
.
Send a comment or suggestionVersion 3.0 of Mobile Information Device Profile Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-2009 Motorola Inc. Portions copyright 1993-2002 Sun Microsystems, Inc. and Motorola, Inc. All Rights Reserved.