MIDP3.0

javax.microedition.midlet
Class ActionsDeniedPermission

java.lang.Object
  extended by java.security.Permission
      extended by java.security.BasicPermission
          extended by 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

Constructor Summary
ActionsDeniedPermission()
          Creates a new ActionsDeniedPermission object
 
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
 

Constructor Detail

ActionsDeniedPermission

public ActionsDeniedPermission()
Creates a new ActionsDeniedPermission object

See Also:
MIDlet
Method Detail

implies

public boolean implies(java.security.Permission permission)
Checks if the specified permission is "implied" by this object. Returns true iff:

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.

MIDP3.0

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.