Annotation Interface RolesAllowed
Specifies the security roles that are allowed to access the annotated enterprise
bean or business method. When applied at the class level, only the listed roles
may invoke any business method of the bean. When applied at the method level,
only the listed roles may invoke the specified method. This annotation is
mutually exclusive with
PermitAll and DenyAll.- Since:
- Common Annotations 1.0
-
Required Element Summary
Required Elements
-
Element Details
-
value
String[] valueSpecifies the security role names that are authorized to access the annotated component or method. Only callers assigned one of these roles will be permitted access.- Returns:
- the array of authorized role names
-