uCosminexus Application Server, API Reference Guide
The following table lists the annotations included in the javax.annotation.security package:
| Annotation name | Functionality |
|---|---|
| @DeclareRoles | Set the security role reference. |
| @DenyAll | Set in a method that denies access to all security roles. |
| @PermitAll | Set in a class or method that permits access to all security roles. |
| @RolesAllowed | Set a security role for permitting access to a class or method. |
| @RunAs | Set the security role that is applied when executing Servlet or Enterprise Bean. |
All Rights Reserved. Copyright (C) 2012, 2013, Hitachi, Ltd.