Annotation Interface 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 the DeclareRoles annotation is a list of security role names.
Since:
Common Annotations 1.0
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    List of security role names.
  • Element Details

    • value

      String[] value
      List of security role names.