org.apache.turbine.annotation

## Annotation Type TurbineRequiredPermission

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

  Annotation to mark modules or methods in modules that require certain permissions to be executed

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `String[]` | `value` Get the names of the permissions required to use this class or method

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String` | `group` Get the name of the permission-associated group

- - ### Element Detail

    - #### value

          public abstract String[] value

      Get the names of the permissions required to use this class or method
      Returns:
        an array of permission names

    - #### group

          public abstract String group

      Get the name of the permission-associated group
      Returns:
        a group name, empty string if the global group
      Default:
        ""

Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.