About API Permissions

See Also

If your MIDlet suite needs to access certain protected APIs (for example, network connections), the MIDP 2.0 security architecture requires that the connection grant permission for access. Required permissions are listed in the Java Application Descriptor (JAD) file with the attribute MIDlet-Permissions.

You can also define optional permissions to limit access to sensitive data or functionality with the attribute MIDlet-Permissions-Opt.

During MIDlet suite installation, the compares the permissions requested with the permissions in the destination protection domain. If the required permissions can not be granted, the application will not be installed.

During execution, if a required permission is denied, an exception is returned. If an optional permission is denied, the application might continue to function, although its functionality would be limited.

You can set the permission requests from the API Permissions page of the Project Properties.

For more information about API Permissions, see "Security for MIDP Applications" in the MIDP 2.0 (JSR-118) specification, available at:

See Also
Adding API Permissions

Legal Notices