Set a security role for permitting access to a class or method.
The following table lists the elements of @RolesAllowed:
Element name | Function |
---|---|
value | Specify the list of roles that have permission to access methods in an application. |
The details of each element are as follows: