Annotation Interface AuthorizeInvocation


@Retention(RUNTIME) @Target(METHOD) @Inherited public @interface AuthorizeInvocation
Annotation to apply role-based authorization to resource methods.
Author:
andrea del bene
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Gets the roles that are allowed to invoke a method.
  • Element Details

    • value

      String[] value
      Gets the roles that are allowed to invoke a method.
      Returns:
      the roles that are allowed. Returns a zero length array by default