Annotation Type RolesAllowed


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface RolesAllowed
    Security annotation which specifies a list of user roles which will be permitted to execute this method. A user role is obtained for an Experimenter by being a member of an ExperimenterGroup. I.e. for: @RolesAllowed({"user","system"}) an Experimenter must be linked to either the ExperimenterGroup "user" or "system" by a GroupExperimenterMap. This annotation replaces the previously used version with the same semantics from the JavaEE spec.
    Since:
    4.0
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String[] value  
    • Element Detail

      • value

        java.lang.String[] value