Annotation for configuring what roles are allowed for requesting the annotated resource. It works analogously to AuthorizeInstantiation.
Author:
Carl-Eric Menzel
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Gets the roles that are allowed to take the action.
  • Element Details

    • value

      Gets the roles that are allowed to take the action.
      Returns:
      the roles that are allowed. Returns a zero length array by default
      Default:
      {}