You can set your default security settings in the Preferences
page.
Procedure
- Click to open the Preferences page.
- Expand Java™ EE, and
select Security.
- Select the elements that you want to set as the default
when creating your Java EE application:
These security settings include:
Default HTTP method
access:
- GET (default: checked)
- PUT (default: checked)
- HEAD (default: checked)
- TRACE (default: checked)
- POST (default: checked)
- DELETE (default: checked)
- OPTIONS (default: checked)
Default wildcard pattern:
- /*
- Apply the registered Faces servlet mapping to all generated wildcard
patterns if the project is a Faces project. (default: checked)
Prompts:
- Prompt to create the Web Modules first Security Role. (default:
checked)
- Show annotation warning dialog for Web 2.5 and EJB 3.1 projects.
(default: checked)
- Click Apply to apply the changes
and click OK to close the Preferences page.