oracle.dbtools.plugin.api.http.annotations

## Annotation Type RequiresPrivilege

-     @Retention(value=RUNTIME)
       @Target(value={TYPE,METHOD,PACKAGE})
       @Documented
      public @interface RequiresPrivilege

  Identifies the name of a logical `Privilege` that protects this type, method, or package.
  Author:
    cdivilly

- - ### Field Summary

    Fields
    Modifier and Type | Fields and Description
    --- | ---
    `static String` | `NO_PRIVILEGE` Indicates that a resource is not protected, i.e it has public access

  - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `String` | `value` The name of the `Privilege`.

- - ### Field Detail

    - #### NO_PRIVILEGE

          public static final String NO_PRIVILEGE

      Indicates that a resource is not protected, i.e it has public access

  - ### Element Detail

    - #### value

          public abstract String value

      The name of the `Privilege`. 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 the `Privilege` is defined.
      Returns:
        The name of the `Privilege` instance

Copyright © 2010, 2022, Oracle and/or its affiliates.