Java Reference
In-Depth Information
Security roles can be added by clicking on the
Add...
button.
We can then add a
Role Name
and an optional
Description
. After clicking the
OK
button, we can see our newly added
Security Roles
in the NetBeans
web.xml
visual editor.
Our application requires two security roles: admin and user. The
procedure to add each security role is identical, therefore adding the user
role is not shown.