Annotation Type DeclareRoles

  • @Documented
    public @interface DeclareRoles
    Used by application to declare security roles. It can be specified on a class. The value of the DeclareRoles annotation is a list of security role names.
    Common Annotations 1.0
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String[] value
      List of security role names.
    • Element Detail

      • value

        java.lang.String[] value
        List of security role names.