Package javax.annotation.security
Annotation Type DeclareRoles
-
@Documented @Retention(RUNTIME) @Target(TYPE) public @interface DeclareRoles
Used by application to declare security roles. It can be specified on a class. The value of theDeclareRoles
annotation 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[]
value
List of security role names.
-