Annotation Interface Roles


@Retention(RUNTIME) @Target(TYPE) public @interface Roles
Sets the default access level on a handler.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • value

      String[] value
      Returns:
      default role required to access handler.
      Default:
      {"user"}