Annotation Type RequiresPrivilege
-
@Retention(RUNTIME) @Target({TYPE,METHOD,PACKAGE}) @Documented public @interface RequiresPrivilegeIdentifies the name of a logicalPrivilegethat protects this type, method, or package.- Author:
- cdivilly
-
-
Field Summary
Fields Modifier and Type Fields Description static java.lang.StringNO_PRIVILEGEIndicates that a resource is not protected, i.e it has public access
-
-
-
Element Detail
-
value
java.lang.String value
The name of thePrivilege. If the Privilege is defined in the same package as the annotated element, then it can be referred to by it's short name, without a package prefix. If it is not located in the same package then then name must be fully qualified including the name of the package where thePrivilegeis defined.- Returns:
- The name of the
Privilegeinstance
-
-