uCosminexus Application Server, API Reference Guide

[Contents][Index][Back][Next]

2.3 javax.annotation.security package

The following table lists the annotations included in the javax.annotation.security package:

List of annotations
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.
Organization of this section
2.3.1 @DeclareRoles
2.3.2 @DenyAll
2.3.3 @PermitAll
2.3.4 @RolesAllowed
2.3.5 @RunAs