Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
Summary:
Field |
Required |
Optional
Detail:
Field |
Element
javax.annotation.security
Annotation Type DeclareRoles
@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface DeclareRoles
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
Required Element Summary
Required Elements Modifier and Type Required Element and Description
String[] value
List of security role names.
Element Detail
value
public abstract String[] value
List of security role names.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
Summary:
Field |
Required |
Optional
Detail:
Field |
Element
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.