Annotation Interface Secured


@Target({METHOD,TYPE}) @Retention(RUNTIME) public @interface Secured
This annotation must be inserted on methods and classes that need a secure check by AuthorizationName.
Author:
npiedeloup
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns the security configuration attributes (e.g.
  • Element Details

    • value

      String[] value
      Returns the security configuration attributes (e.g. RoleUser, RoleAdmin).
      Returns:
      String The secure method attribute