After you create your permissions.xml file, you can edit this file
with the Java EE Application Permission Editor to set rights and permissions
for your Java™ EE applications.
Before you begin
Java EE 7 is required to use the Java EE
Application Permission Editor.
Create the
permissions.xml file if it does not exist.
- Go to .
- Select Java EE Application Permission file from the Java EE
Category section.
- Click Next.
- Select your project from the drop-down menu.
Only valid projects are shown.
- Click Finish.
About this task
Set permissions for your applications by editing your permissions.xml file
with the Java EE Application Permission Editor.
Procedure
- Open the permissions.xml file with the Java EE Application
Permission Editor.
- To add permissions, click Add....
- Select Permission and click OK.
- Select the class name that you want to add from the drop-down menu, and then click
OK.
The Details section of the Java EE Application Permission
Editor is displayed.
Important: If you select Custom Permission... from the drop-down
menu, then you must manually enter a value for the Class name,
Name, and Actions fields. You cannot use
Suggested Values to automatically populate the Name
and Actions fields for permissions that are not in the drop-down menu.
- Optional: To change or add the name value for the permission, either enter it in the
Name field, or click the Suggested Values button for
the Name field to see a list of possible values.
- Select a name value from the Values drop-down menu.
- Click OK.
Tip: Some classes do not have any available name values. The Name
field can be left blank.
- Optional: To change or add the actions value for the permission, either enter it in the
Actions field, or click the Suggested Values button
for the Actions field to see a list of possible values.
- Select one or more actions values from the list.
- Click OK.
Tip: Some classes do not have any available actions. The Actions
field can be left blank.
- Save the permissions.xml file.