Annotation Type 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
      String[] value
      Returns the security configuration attributes (e.g.
    • Element Detail

      • value

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