JavaScript is disabled on your browser.
Skip navigation links
Common Annotations 3.0 - Apache Tomcat
®
11.0.1
Overview
Package
Class
Tree
Index
Help
Summary:
Field
Required
Optional
Detail:
Field
Element
Summary:
Field |
Required
|
Optional
Detail:
Field |
Element
SEARCH
Package
jakarta.annotation.security
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