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 TypeMethod and Description
public String[]
value()

List of security role names.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public String[] value()

List of security role names.