Annotation Type DeclareRoles

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.

发布了133 篇原创文章 · 获赞 191 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/blog_programb/article/details/105722227