Annotation Interface PreAuthorize


@Target({METHOD,TYPE}) @Retention(RUNTIME) @Inherited @Documented public @interface PreAuthorize
Annotation for specifying a method access-control expression which will be evaluated to decide whether a method invocation is allowed or not.
Since:
3.0
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details

    • value

      String value
      Returns:
      the Spring-EL expression to be evaluated before invoking the protected method