JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Tree
Index
Search
Help
Common Annotations 3.0 - Apache Tomcat
®
11.0.2
jakarta.annotation.security
RolesAllowed
Contents
Hide sidebar
❮
❯
Show sidebar
Description
Required Element Summary
Element Details
value
Annotation Interface 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