DeclareRoles (Common Annotations 2.0 API Documentation - Apache Tomcat 10.0.20)

Package jakarta.annotation.security

## Annotation Type DeclareRoles

-     @Documented
      @Target(TYPE)
      @Retention(RUNTIME)
      public @interface DeclareRoles

  Since:
    Common Annotations 1.0

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element | Description
    --- | --- | ---
    `java.lang.String[]` | `value` |

- - ### Element Detail

    - #### value

          java.lang.String[] value

      Returns:
        a String[] with the roles