Package javax.annotation.security
Annotation Type DeclareRoles
-
@Documented @Retention(RUNTIME) @Target(TYPE) public @interface DeclareRolesUsed by application to declare security roles. It can be specified on a class. The value of theDeclareRolesannotation is a list of security role names.- Since:
- Common Annotations 1.0
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String[]valueList of security role names.
-