Setting MIDlet permissions
You can define critical and optional MIDlet permissions for your MIDlet
through Security Management. Besides default permissions, you can add
custom permissions.
Note: The names of permissions
are case-sensitive.
To add MIDlet permissions
- In the menu bar, select MTJ
-> Application Security or in the tool bar, select
..
The Security Management for MTJ Applications window opens.
- In the MTJ Project
field, click Browse and select
the MTJ project for which you want to add MIDlet permissions.
- Select the Permissions
tab.

- To add a critical or optional permission:
- Click Add
in the Critical MIDlet Permissions
or Optional MIDlet Permissions
area, respectively.
The Add Permissions window is displayed.
- In the Add Permissions window , select the permission
you want from the predefined list of permissions.
The contents of the list depend on the profile the project is using.
- Click OK.
- To add a custom critical or optional permission:
- Click Add Custom
in the Critical MIDlet Permissions
or Optional MIDlet Permissions
area, respectively.
The Add Custom Permissions window is
displayed.
- In the Add Custom Permissions window , define
the custom permission you want to add.
- Click OK.
- Repeat Steps 4 and 5 as may times as necessary to
add all the permissions you want.
- In the Security Management for MTJ Applications window,
click Update the MIDP Application.
- Click Close.
To remove MIDlet permissions
- In the menu bar, select MTJ
-> Application Security or in the tool bar, select
.
The Security Management for MTJ Applications window opens.
- Click Browse
and select the MTJ project from which you want to remove MIDlet permissions.
- Select the Permissions
tab.
- Select the permission to be removed and click Remove.
- Repeat Step 4 as may times as necessary to remove
all the permissions you want.
- Click Update the
MIDP Application.
- Click Close.

Mobile Tools for the Java Platform
Java ME platform

Managing applications

Wizards