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