Annotation Interface RequiredPermission


@Retention(RUNTIME) @Target(METHOD) public @interface RequiredPermission
Annotation to mark modules or methods in modules that require certain permissions to be executed
Version:
$Id: RequiredPermission.java 2 2014-03-11 23:59:59Z youngho $
Author:
YounghoCho
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    SpEL expression
    Get the names of the permissions required to use this method TODO : make enum array
  • Element Details

    • value

      String[] value
      Get the names of the permissions required to use this method TODO : make enum array
      Returns:
      an array of permission names
      Default:
      {}
    • expression

      String expression
      SpEL expression
      Returns:
      SpEL expression
      Default:
      ""