javaee-web-api 8.0.1
javax.annotation.security
DeclareRoles
Top
Description
Methods
javax.annotation.security
public
@Interface DeclareRoles
extends
Annotation
Annotations
@Documented
@Retention
:
RUNTIME
@Target
:
TYPE
Imports
java.
lang.
annotation.
*
Used by application to declare security roles. It can be specified on a class. The value of the
DeclareRoles
annotation is a list of security role names.
Since
Common Annotations 1.0
Method Summary
Modifier and Type
Method and Description
public
String
[]
value
()
List of security role names.
Inherited from
java.lang.annotation.Annotation
:
annotationType
equals
hashCode
toString
Method Detail
value
back to summary
public
String
[]
value
()
List of security role names.