RolesAllowed (Common Annotations 2.1 API Documentation - Apache Tomcat 10.1.20)
Description: declaration: package: jakarta.annotation.security, annotation type: RolesAllowed

Package jakarta.annotation.security

# Annotation Type RolesAllowed

@Documented @Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface RolesAllowed

Since:
  Common Annotations 1.0

- ## Required Element Summary

  Required Elements
  Modifier and Type
  Required Element
  Description
  `String[]`
  `value`

- ## Element Details

  - ### value

    String[] value
    Returns:
      a String[] of the allowed roles